ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: MPH on August 11, 2010, 10:13:33 AM

Title: Question about custom XMP tags
Post by: MPH on August 11, 2010, 10:13:33 AM
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

Title: Re: Question about custom XMP tags
Post by: MPH on August 11, 2010, 10:40:10 AM
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....
Title: Re: Question about custom XMP tags
Post by: MPH on August 11, 2010, 11:44:30 AM
bit too complicated though... might be beyond me... I was never much of a programmer...
Title: Re: Question about custom XMP tags
Post by: Phil Harvey on August 11, 2010, 12:03:01 PM
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