ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: PersistentPacifier on January 08, 2023, 12:09:23 AM

Title: Option to skip OK messages
Post by: PersistentPacifier on January 08, 2023, 12:09:23 AM
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.
Title: Re: Option to skip OK messages
Post by: Phil Harvey on January 08, 2023, 07:25:13 AM
What about this?:

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

- Phil
Title: Re: Option to skip OK messages
Post by: PersistentPacifier on January 09, 2023, 12:35:39 PM
Yes! Thank you, that works.