Main Menu

Using -config

Started by jean, August 16, 2018, 10:22:09 AM

Previous topic - Next topic

jean

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

Phil Harvey

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

jean