Avoid overwriting using mogrify
Posted: 2013-01-16T06:47:30-07:00
Hi there,
I need to improve my script.
I have many tif and jpg files in folders
jpgs are already processed tif ones.
I'm okay with Fred's script : mogrify -path . -format jpg -resize 1500x1000\> *.tif
but if one jpg already exist, it is obviously overwritten.
is there a way to rename the new file or whatever to avoid that ?
many thanks
I need to improve my script.
I have many tif and jpg files in folders
jpgs are already processed tif ones.
I'm okay with Fred's script : mogrify -path . -format jpg -resize 1500x1000\> *.tif
but if one jpg already exist, it is obviously overwritten.
is there a way to rename the new file or whatever to avoid that ?
many thanks