pileofrogs has asked for the wisdom of the Perl Monks concerning the following question:
If I want to make a directory called '/usr/local/foo/bar/baz', and I don't know if '/usr/local/foo/bar' or '/usr/local/foo' exists, is there a simple recursive mkdir command that I'm just failing to find, or do I have to roll my own? Or is there some reason that a recursive mkdir is a bad idea?
Thanks!
-Pileofrogs
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Dumb recursive mkdir question...
by Corion (Patriarch) on Oct 22, 2007 at 21:09 UTC | |
|
Re: Dumb recursive mkdir question...
by moritz (Cardinal) on Oct 22, 2007 at 21:09 UTC | |
|
Re: Dumb recursive mkdir question...
by tye (Sage) on Oct 22, 2007 at 21:38 UTC | |
by grinder (Bishop) on Oct 23, 2007 at 07:51 UTC | |
by tuxz0r (Pilgrim) on Oct 23, 2007 at 02:58 UTC | |
by ikegami (Patriarch) on Oct 23, 2007 at 03:01 UTC | |
|
Re: Dumb recursive mkdir question...
by andyford (Curate) on Oct 22, 2007 at 21:11 UTC | |
|
Re: Dumb recursive mkdir question...
by Sidhekin (Priest) on Oct 22, 2007 at 21:11 UTC | |
|
Re: Dumb recursive mkdir question...
by gamache (Friar) on Oct 22, 2007 at 21:19 UTC |