ExifTool Forum

ExifTool => Developers => Topic started by: jean on August 16, 2018, 10:22:09 AM

Title: Using -config
Post by: jean on August 16, 2018, 10:22:09 AM
Hi Phil

Using Windows 7/10 and stay_open.
When i send
-config\n
"c:\test\.toto_config"
to Exiftool i always get the following:
Ignored -config option (not first on command line)

But -config is the first in the command line
My private fields are displayed but without their names, replaced by Exif_0x02d8 and 2d9

The config file:

%Image::ExifTool::UserDefined = (
'Image::ExifTool::Exif::Main' => {
   728 => {
      Name => 'Tili-1',
      Writable => 'string',
      WriteGroup => 'IFD0',
   },
   729 => {
      Name => 'Tilo-2',
      Writable => 'string',
      WriteGroup => 'IFD0',
   },
  },
);

Any idea ?
Jean
Title: Re: Using -config
Post by: Phil Harvey on August 16, 2018, 10:45:46 AM
The -config option must be the first option on the command line, so it can't be used in an argfile (ie. it can't come after -stay_open or -@).

- Phil
Title: Re: Using -config
Post by: jean on August 16, 2018, 10:55:38 AM
OK, thank you.

Jean