|
|
Create multiple folders from Terminal
So as long as we're all posting various ways to do this, here is one that:
This assumes that TextEdit uses macroman encoding when you save as plain-text. It did for me. If you've got a UTF8 editor to create names.txt with, then you'd do this instead:
I was unable to make Perl's mkdir work properly with unicode. And I don't know ruby well enough, though I'd be happy to see a ruby contribution.
j.
Create multiple folders from Terminal
Ah, just realized you set the encoding in TextEdit when you save. In that case, select "UTF-8" and just use:
Oddly, if you re-open that that file TextEdit, it improperly decodes it as MacRoman. Oh well.
Create multiple folders from Terminal
Okay, I win the award for replies to self. :-)
Create multiple folders from Terminal
If you use UTF-8 when saving in TextEdit, this perl invocation will work:
:-)
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|