Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create multiple folders from Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create multiple folders from Terminal
Authored by: pmccann on Apr 25, '06 08:52:23PM

Then something's fishy: I made a text file "dirnames.txt" in my home directory with the contents

one
two
three

and then executed the above command in the same directory:

perl -ne 'chomp($x=$_); mkdir($x);' < dirnames.txt

Bingo: three folders, appropriately named.

Cheers,
Paul



[ Reply to This | # ]