ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: evilaro on September 20, 2010, 10:59:32 AM

Title: Not creating backups of files.
Post by: evilaro on September 20, 2010, 10:59:32 AM
 
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]
Title: Re: Not creating backups of files.
Post by: Phil Harvey on September 20, 2010, 11:16:18 AM
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