Searching using Format File for Conditional Tag Value

Started by Andy Quinlan, May 08, 2017, 12:39:48 PM

Previous topic - Next topic

Andy Quinlan

Dear Phil,

I have been using Multi Exposure with my EOS 7D mark II.

I would like to know if it is possible using a "Format File" to search all images in Folder and only extract
Data from Images meeting condition "MultiExposure = On"  without having to search through the output file for the relevant Images.

Kind regards
Andy :)
Andy

Phil Harvey

Hi Andy,

Sure it is possible, but a "format file" isn't necessary.  Look at the -if option.  The question then is what do you want to do with these files?:

exiftool -if "$multiexposure eq 'On'" <do something> DIR

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

Andy Quinlan

Phil,

Many thanks for your instant help.

Kind regards
Andy
Andy