in reply to Creating Multiple Empty Directories with Perl
perl -MFile::Path -e 'mkpath([map { "dir$_" } (1 .. 20)])'
Or without:
perl -e 'system("mkdir dir$_") for (1 .. 20)'
-sam
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Creating Multiple Empty Directories with Perl
by ikegami (Patriarch) on Sep 28, 2005 at 06:37 UTC | |
by samtregar (Abbot) on Sep 28, 2005 at 06:41 UTC | |
by ikegami (Patriarch) on Sep 28, 2005 at 06:52 UTC |