Question about custom XMP tags

Started by MPH, August 11, 2010, 10:13:33 AM

Previous topic - Next topic

MPH

Hello there,

I use exiftool to change the dates on my pictures usually but I want to use it to change some custom XMP tags. These are XMP values added to my files using photoshop/bridge to add custom panels.

Is this possible? I'm not having much luck...

I'm able to show the (string) tag 'YDAMPCMCode' (after using -s to get the tag) with

exiftool  -YDAMPCMCode [filename]

YDAMPCMCode    :    FTee67


but when I try

exiftool -YDAMPCMCode=FTee689

Warning: Tag 'YDAMPCMCode' does not exist
Nothing to do .


Any help, links greatfully appreciated, I have a database of around 10,000 images that I need to update - hopefully without relying on Adobe Bridge.

Thanks, Matt


MPH

I may be alright, I hadn't come across this file until now:

https://exiftool.org/config.html as I didn't download the full DMG.

I'm on it now....

MPH

bit too complicated though... might be beyond me... I was never much of a programmer...

Phil Harvey

The sample config file you found is what you need.

It isn't as complicated as it looks since the sample shows how to add tags for a number of meta information types, but you are only interested in added some custom XMP tags.

Basically, all you need to know is the namespace that the tags are in, and the names of the tags.  You can get this information by looking at the raw XMP (with exiftool -xmp -b FILE).  You should also find some more examples of adding user-defined XMP tags if you search this forum.

Or if you want, just post the raw XMP here and I can help more.

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