On 2019 Jan 9, at 20:27, Bill Kochman <[email protected]> wrote:
> 
> I have a BBEdit text file with a list of about 300 folder names 
> alphabetically listed in it, one name per line. I need a script which will 
> take those 300 names, and create actual folders with those exact names on my 
> hard drive in a folder on my desktop



Instead of a script, you could use a Shell Worksheet. File > New > Shell 
Worksheet

Copy your list into the worksheet, then use   Text > Prefix/Suffix Lines…   to 
prefix each line with "mkdir ". (Be sure to include the space after mkdir.)
Now change to the container folder: Type on a new line "cd ", then drag the 
outer folder and drop it so that the line reads, e.g.,

   cd ~/Desktop/theOuterFolder

Select that line and type ⌘-Return.

Now select all the mkdir lines (i.e., your list with the added prefixes), and 
again type ⌘-Return.

Done.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to