Is there a easy way to find out which files have not ben updated?

Started by nigel, March 06, 2015, 08:59:13 AM

Previous topic - Next topic

nigel

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.

Phil Harvey

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

nigel

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.