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: suarez on Apr 25, '06 11:53:19AM
I've always used
$ cat folders.txt | sed 's/ /\\ /g' | xargs mkdir
for this. The sed command converts spaces to backslashed spaces, necessary to "escape" each space and allow folder names with spaces.

[ Reply to This | # ]