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.
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
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.