Creating nested folders
Creating nested folders
- Subject: Creating nested folders
- From: Jan Erik Moström via AppleScript-Users <email@hidden>
- Date: Sat, 14 Aug 2021 11:00:43 +0200
- Authorized-sender: email@hidden
Before sitting down to create (ie modify something I found online) I
would like to ask what is the best way to create a folder hierarchy in
applescript? (I'm still trying to figure out AppleScript instead of
using Python which I'm more used to)
My current task is to create a file in a folder hierarchy that might or
might not contain existing folders. In other words, I would like to make
sure the the folder hierarchy actually exists before I start writing to
the file, example: I have the structure
/a/b
and need to create a file in folder
/a/b/c/d/e
So I would like to call a function that makes sure that the hierarchy
"/a/b/c/d/e" exists (which it sometimes might do)?
= jem
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden