Is it possible to rewrite tags directly in ExifTool_config file?

Started by email@m-moser.de, January 08, 2013, 12:01:49 PM

Previous topic - Next topic

email@m-moser.de

Hi Phil,

just a short question:

Is it possible to rewrite directly a tag in ExifTool_config file?  (e.g. EXIF:Model)
Up to now I used the ExifTool_config file to create an userdefined new tag und used the command line to replace the initial tag.
If yes, please provide an example or a link to an example.

Many thanks in advance,
Manfred

Phil Harvey

Hi Manfred,

What you are asking doesn't make sense to me.  If you could write stuff directly from the config file, then it would be possible to write stuff without the user knowing.  That would be bad.

You must do some sort of assignment on the command line to write a tag.  What exactly did you have in mind?

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

email@m-moser.de

Hi Phil,

my idea was to set some camera specific values directly into the corresponding EXIF tags,
like CameraSerialNumber (either getting from Nikon:SerialNumber or setting to fixed value for the D200, because the D200 does not have the SerialNumber in the metadata).

Sure, I can do this also via command line, but the length of the command line is limited in Windows, and many -if and -execute statements will take some time on thousands of large image files.

But if it is too complicated, do not spend your time on this issue.  It was just a question.

Thanks,
Manfred

Phil Harvey

Hi Manfred,

The -@ option will solve the command-line length issue.

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