search files by exif tag (output as a simple file list)

Started by hesher, October 27, 2013, 02:48:11 AM

Previous topic - Next topic

hesher

Complete newbie to exiftool here, working from windows command prompt.

I've slimmed through the help and couldn't find a way to search by exif tags values.
Specifically, I'm trying to filter out photos that were taken on a iPhone 5 (Model='iPhone 5')

TnX 'n' advance!

Phil Harvey

Adding -if "$model =~ /iPhone 5/" to the command will process only photos taken with the iPhone 5.  Change =~ to !~ to do the inverse (I'm not sure what you meant by "filter out").

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).