Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Use Automator/AppleScript to create multiple subfolders for a project

I'm a complete newbie when it comes to scripting/automator but have heard wonders and wanted some help with automating a relatively common task of mine.


As a video editor, whenever I start a new project I create a project folder with a series of subfolders. Those subfolders are fairly consistent across projects and I'd love to be able to automate the process.


Is there a way using Automater/AppleScript to create a little Application that when run asks where I want my new folder to be created and what it should be called, then create that folder with a series of subfolders (each with a specific name)?


There's an app out there called Post Haste that sort of does this already but I'd love to just have a script/automater app I can leave in my dock and run at will.


Thanks!!

OS X Yosemite (10.10.3), 2.6 GHz Core i7, 16GB Ram, 1TB SSD

Posted on Feb 15, 2017 7:36 AM

Reply
Question marked as Best reply

Posted on Feb 15, 2017 9:51 AM

This should do it:


User uploaded file User uploaded file


mkdir "$1/$2"

mkdir "$1/$2/Media-Source"

mkdir "$1/$2/Media-Generated"

mkdir "$1/$2/Music"

mkdir "$1/$2/Music/Temp"

mkdir "$1/$2/GFX"

mkdir "$1/$2/Outputs"

mkdir "$1/$2/Outputs/Final Deliverables"

mkdir "$1/$2/Outputs/Final Deliverables/ProRes"

mkdir "$1/$2/Outputs/Final Deliverables/1080p Web"


# (Note: The folder creation steps can be shortened with mkdir -p)

13 replies
Question marked as Best reply

Feb 15, 2017 9:51 AM in response to ehmjay

This should do it:


User uploaded file User uploaded file


mkdir "$1/$2"

mkdir "$1/$2/Media-Source"

mkdir "$1/$2/Media-Generated"

mkdir "$1/$2/Music"

mkdir "$1/$2/Music/Temp"

mkdir "$1/$2/GFX"

mkdir "$1/$2/Outputs"

mkdir "$1/$2/Outputs/Final Deliverables"

mkdir "$1/$2/Outputs/Final Deliverables/ProRes"

mkdir "$1/$2/Outputs/Final Deliverables/1080p Web"


# (Note: The folder creation steps can be shortened with mkdir -p)

Use Automator/AppleScript to create multiple subfolders for a project

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.