Use ExifTool to create an Automator action (to filter files based on metadata)

Started by photo-snap12, August 04, 2019, 11:08:49 AM

Previous topic - Next topic

photo-snap12

Absolute newbie question:

I'm wondering how to use/incorporate ExifTool in an Automator action? I want the Automator Action to search through a certain folder (selected by me) that contains RAW files, select files based on metadata criteria (in my case: a specific keyword or a certain star rating) and then copy only those files to a new location on a hard drive.

Is that possible?
What are the steps or commands I would have to "feed" an Automator action with?

Any help would be appreciated!

Hayo Baan

You can use exiftool in an automator action inside a "Run Shell Script" action. In Automator you could either create an "Application" or a "Quick Action". I suggest the quick action since then you can simply select a number of files/folders in the Finder and execute the action on those. Inside the shell script code you then write the code you need to run exiftool.

Without specifics it's hard to define the script code, but it looks like you at least want an -if
See attached screenshot for how your Automator could look.

Hayo Baan – Photography
Web: www.hayobaan.nl

Stephen Marsh

Some other examples of combining ExifTool and Apple Automator here:

https://prepression.blogspot.com/2016/12/automator-diy-exiftool-gui-services.html