ExifTool Forum

ExifTool => Newbies => Topic started by: nigel on March 06, 2015, 08:59:13 AM

Title: Is there a easy way to find out which files have not ben updated?
Post by: nigel on March 06, 2015, 08:59:13 AM
I am updating a large number of images files from a json file and it is working well, but  small percentage of the files are not being updated.

At the end of the run I get an output like this:-

    512 directories scanned
42251 image files updated
    192 image files unchanged
        1 files weren't updated due to errors

Is there an easy way to find to which files were not updated?

Thanks,
Nigel.
Title: Re: Is there a easy way to find out which files have not ben updated?
Post by: Phil Harvey on March 07, 2015, 07:31:11 AM
Hi Nigel,

The errors should show in console.  These will be the files with errors that weren't updated. For the other files, you could add the -v0 option.

- Phil
Title: Re: Is there a easy way to find out which files have not ben updated?
Post by: nigel on March 09, 2015, 10:04:14 AM
Thanks Phil.

I have now managed to track them down.

By using the -v0 option and searching stdout for the string "Nothing changed in" I have found the 192 unchanged files.
The error was indeed reported on stderr as"Error: Not a valid JPEG (looks more like a PNG)".

Cheers,
Nigel.