Not creating backups of files.

Started by evilaro, September 20, 2010, 10:59:32 AM

Previous topic - Next topic

evilaro

 
Hi:

The options

    exiftool -exif:orientation="Rotate 270 CW"  "&mimagen"   

and

    exiftool -q -TagsFromFile "&mfin" -all:all  aa.mie         

Create a back up file of the original... which is good, but probably
it makes the whole process to take longer and some people do not want
other files created... I would like to give the option.

Is there a way to avoid the creation of the backup?

Thanks

Emilio [evilaro]
www.evilfoto.eu
*************

Phil Harvey

Hi Emilio,

You can avoid the "_original" files with the -overwrite_original option, but this won't speed things up since ExifTool creates a temporary file anyway.  This is the only really safe way to rewrite a file -- the temporary file is simply discarded if any error occurs while writing.

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