Main Menu

about _original file

Started by foremtehan, October 16, 2023, 01:38:43 AM

Previous topic - Next topic

foremtehan

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 ?

Phil Harvey

Use the -overwrite_original option (as in the error message you saw) to prevent the "_original" files from being saved.

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

foremtehan

I used it already but it didn't delete the _original file, look the first command

Phil Harvey

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