Adam has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (directories)
On an NT machine I managed to do it with:
(That deletes all the sub directories (and their contents) in the current dir.) But I was wondering if there is a "Perl" way.`rd /s /q "$_"` for grep {-d} glob '*';
Originally posted as a Categorized Question.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How do I delete a directory without emptying it first?⭐
by DracoWulf (Initiate) on Sep 12, 2000 at 01:19 UTC | |
Re: How do I delete a directory without emptying it first?
by gav^ (Curate) on Jan 17, 2002 at 07:04 UTC | |
Re: How do I delete a directory without emptying it first?
by swngnmonk (Pilgrim) on Mar 09, 2004 at 17:50 UTC | |
Re: How do I delete a directory without emptying it first?
by ZZamboni (Curate) on Aug 26, 2000 at 02:36 UTC | |
Re: How do I delete a directory without emptying it first?
by cLive ;-) (Prior) on Apr 02, 2001 at 08:59 UTC | |
Re: How do I delete a directory without emptying it first?
by trala (Initiate) on Jan 17, 2002 at 05:07 UTC | |
by gav^ (Curate) on Jan 17, 2002 at 07:11 UTC | |
Re: How do I delete a directory without emptying it first?
by Anonymous Monk on Mar 09, 2004 at 16:04 UTC | |
A reply falls below the community's threshold of quality. You may see it by logging in. |
Back to
Seekers of Perl Wisdom