perlpal has asked for the wisdom of the Perl Monks concerning the following question:
My requirement is to create multiple level directories on Linux i.e create a directory say "Logs"(static name).Within this directory , create another directory say "UnitTest" (dynamic name given by the script).
The directory structure would end up looking like this :
Logs/UnitTest/<files>
How do i create multiple levels of directories?. I am aware that the "mkdir" function creates a single directory.Am i missing out on a variant that meets my purpose?
Thanks in advance!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Creating multiple level directory structure
by moritz (Cardinal) on Aug 11, 2010 at 14:14 UTC | |
|
Re: Creating multiple level directory structure
by Ratazong (Monsignor) on Aug 11, 2010 at 14:18 UTC | |
|
Re: Creating multiple level directory structure
by tospo (Hermit) on Aug 11, 2010 at 14:42 UTC | |
|
Re: Creating multiple level directory structure
by VinsWorldcom (Prior) on Aug 11, 2010 at 14:19 UTC | |
by toolic (Bishop) on Aug 11, 2010 at 14:22 UTC | |
|
Re: Creating multiple level directory structure
by zentara (Cardinal) on Aug 11, 2010 at 17:44 UTC | |
|
Re: Creating multiple level directory structure
by Anonymous Monk on Aug 11, 2010 at 14:14 UTC |