How to list all pictures in dir tree which match a certain EXIF attribute value?

Started by Archive, May 12, 2010, 08:54:43 AM

Previous topic - Next topic

Archive

[Originally posted by pxstein on 2009-12-25 16:15:11-08]

Is it possible to search for ALL pictures in a directory tree which match (or don't match)
a certain EXIF attribute?

e.g. find all pictures with a

XREsolution not equal to 72
or
Contrast not equal to "Normal"
or
ISO equal to 64

Is there a solution for pure (command line) exiftool and ExifToolGUI?

Peter

Archive

[Originally posted by exiftool on 2009-12-25 18:59:46-08]

Hi Peter,

This command will list the filenames of all images in directory DIR
which meet your criteria:

exiftool -p "$filename" -if "$xresolution != 72 or $contrast ne 'Normal' or $ISO == 64" DIR

(note: swap single and double quotes if you are on Linux or Mac)

- Phil