I actively manage a directory of folders that contain images that are organised by modification dates. Due to this, I had made a quick action that used an applescript and bash to help me ensure that newly added files had the right modification date.
This was time consuming, and eventually I learned that I could set up Folder Actions that could automatically do that work for me. I did so, and now I face the struggle of adding multiple (lots of) folders to the Folder Actions Setup window.
In the spirit of automating everything, is there a way to add Folders to the Folder Actions Setup window and all added folders to have my folder action enabled? Not sure where to start!
There was an app made for this, unfortunately the download link no longer works and the developer has removed it from his page of projects.
Best Answer
This following AppleScript code will ask you to choose the script file to attach then we'll give you two separate options for adding multiple folders to attach that script file to
This works for me using the latest version of MacOS Mojave.