Scripting Retrobatch From the Command-Line
You can call Retrobatch from the command line, with arguments for a workflow, output folder, and images / folder to process. Call the Retrobatch tool from within the Retrobatch app (which is likely in your Applications folder) as follows:
/Applications/Retrobatch.app/Contents/MacOS/Retrobatch --workflow path/to/workflow.retrobatch --output ~/Desktop/foo/ /path/to/files.jpeg /or/folders/
When you pass folders or images to be processed, Retrobatch synthesizes a read folder or read files node to insert at the front of your node chain. So it is not necessary to have a read node in your workflow for it to be used from command line.
However, for the --output
argument you must have a Write Images node present. The folder from the --output
argument will then replace whatever value you have set for the output folder in the Write Node.
You can also use the -h
argument to Retrobatch to find out what its arguments are:
Usage: retrobatch --workflow <path to workflow> [OPTIONS]
OPTIONS include:
--workflow path to retrobatch workflow file
--output path to output folder. The workflow must still have at least one write node,
which Retrobatch will them assign the output folder to.
--quiet/-q let Retrobatch know it should try and be quiet.
Note for the App Store version of Retrobatch.
If you are using the App Store version of Retrobatch, you may encounter problems with the command line tool unless you give Retrobatch Full Disk Access in the System Preferences.