Is there a way to prevent convert from writing an output file if it encounters such or any error?
I'm using the following to compress tiffs:
Code: Select all
find . -name "*.tif" -exec echo convert {} -compress ZIP {} \;
Code: Select all
convert: Cannot read TIFF header. `./image01.tif' @ error/tiff.c/TIFFErrors/561.