ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: Andy Quinlan on May 08, 2017, 12:39:48 PM

Title: Searching using Format File for Conditional Tag Value
Post by: Andy Quinlan on May 08, 2017, 12:39:48 PM
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 :)
Title: Re: Searching using Format File for Conditional Tag Value
Post by: Phil Harvey on May 08, 2017, 12:43:02 PM
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
Title: Re: Searching using Format File for Conditional Tag Value
Post by: Andy Quinlan on May 08, 2017, 01:11:55 PM
Phil,

Many thanks for your instant help.

Kind regards
Andy