How to make "-overwrite_original" as default in config file?

Started by Strontium, July 04, 2019, 11:01:47 AM

Previous topic - Next topic

Strontium

I have this in .ExifTool_config in my home directory:

%Image::ExifTool::UserDefined::Options = (
    LargeFileSupport => 1,
);
1; # end


for BigTIFF reading support.

How can i add the command line option -overwrite_original to the config file so that i don't have to add it everytime to the command line manually?

Phil Harvey

Unfortunately -overwrite_original is an application-level option only.  It doesn't have an equivalent API option that you can set via the config file.

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