I have a number of processes that I need a Mac Mini to run with no input.

One of these tasks is to take ingested video files, rename them and transfer them to another location.

The app I am using to ingest the files is called one way sync and it is capable of running a script upon completion. Using this, I can trigger an automator app to run. However I do not know a way to specify the input for this app as the contents of X folder.

I need the app to run on the contents of folder X every time.

Can anybody tell me what i'm missing?


Apple's documentation on files is a bit of a laundry list - but read a little so you can decide if you want to use POSIX names or native names. POSIX uses / and native uses : to denote folder breaks. The following two lines are both the Downloads folder for a user with a short name of me:

"Macintosh HD:Users:me:Downloads"

Mac Automation - Files and Folders - Apple Developer

On the left sidebar are links to sections dealing with Processing dropped files and folders as well as the concept of watching folders.

I would try my hand at writing a script that uses the built in watch folders triggers so you don't have to deal with passing file names or starting and stopping the script. If that doesn't work, you could always invest in a tool like Hazel that does what you want as well, but it's good to try and learn automation since it's so powerful long term.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .