Option to skip OK messages

Started by PersistentPacifier, January 08, 2023, 12:09:23 AM

Previous topic - Next topic


Please add a parameter to skip "OK" messages when using "-validate", or preferably to only print files with a warning or error messages. I'm using:

exiftool -validate -warning -error -r. .
And trying to hunt down for the files with errors and warnings becomes difficult with high amount of files. I've also tried with -efile but it doesn't work with these commands.

Phil Harvey

What about this?:

exiftool -validate -warning -error -if "$validate ne 'OK'" -r. .

- 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 ($).