ExifTool Forum

ExifTool => Newbies => Topic started by: foremtehan on October 16, 2023, 01:38:43 AM

Title: about _original file
Post by: foremtehan on October 16, 2023, 01:38:43 AM
I realized that the exiftool creates a backup file that has `_original` suffix on every operations (adding metadata tag) for a file, how can i prevent this ?

exiftool "-Artist#=Test" "FILE.m4a" -overwrite_original"

also:

exiftool "-Artist#=Test" "FILE.m4a" -overwrite_original -delete_original"

got me this error:

QuoteCan't use -delete_original when writing.
Maybe you meant -overwrite_original ?
Title: Re: about _original file
Post by: Phil Harvey on October 16, 2023, 09:19:51 AM
Use the -overwrite_original option (as in the error message you saw) to prevent the "_original" files from being saved.

- Phil
Title: Re: about _original file
Post by: foremtehan on October 16, 2023, 10:13:18 AM
I used it already but it didn't delete the _original file, look the first command
Title: Re: about _original file
Post by: Phil Harvey on October 16, 2023, 11:24:55 AM
First, the quoting in your commands is wrong.  There is a quote after -overwrite_original that shouldn't be there.

Second, the -overwrite_original option prevents creation of the _original file, but it won't delete existing _original files.  If you want to do this, use this command:

exiftool -delete_original DIR

- Phil