ExifTool Forum

ExifTool => Newbies => Topic started by: Strontium on July 04, 2019, 11:01:47 AM

Title: How to make "-overwrite_original" as default in config file?
Post by: Strontium on July 04, 2019, 11:01:47 AM
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?
Title: Re: How to make "-overwrite_original" as default in config file?
Post by: Phil Harvey on July 04, 2019, 11:05:16 AM
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