Command Line Support
Transnomino can be launched from the command line. It optionally accepts the following command line arguments:
-d path
Specifies the Path to the directory to open for renaming. It needs to be a full path and it needs to be enclosed in double-quotes in case the path contains spaces. You can refer to your home directory with the ~ character.
To add multiple directories, specify each directory in a separate -d argument.
Examples:
-d ~/Pictures
-d ~/Pictures -d "/Volumes/LocalNas/Some Directory With Spaces/"
-r file
Specifies a Recipe file to open.
Example:
-r "~/Recipes/photos.recipe"
-r json
Specifies a complete contents of a Recipe file as a JSON string. The JSON string must be enclosed in
single quotes and in case the Recipe JSON string contains any single quotes characters, these single
quotes must be escaped by: '"'"'.
Example:
-r
'{"recipe_format_version":"3.14", "transformers": [{"title":"Replace", "disabled":false, "transformScope":"filename", "type":"simple", "id":"transformer_171098B693A", "properties":{"simpleFindText":"this", "simpleReplaceText":{ "properties":[ {"type":"string","value":"that"} ],"object":"TokenString"}, "simpleWildcards":"0", "simpleCaseInsensitive":"0"}}] }'
Example:
open -a Transnomino --args -d "~/Pictures" -r "~/Recipes/photos.recipe"