Wich tag for Lightroom keywords in xmp files

Started by nehonimo, February 27, 2011, 10:25:59 AM

Previous topic - Next topic

nehonimo

Hi,

I created out of an .cr2 (RAW) file an .xmp like this:
exiftool  -X -s -a -f -w xmp img...cr2
And then I try to add some keywords to the xmp file like:
exiftool -XMP-dc:Subject="testKeyword" img....xmp

Then I import it to LR but I don't see the "testKeyword". Also Import Metadata out of LR doesn't help.
I tried with -XMP-lr:Hierarchicalsubject, -XMP-pdf:keywords but it doesn't work.
Does somebody know, wich tag I have to use?

Best Regards
Nenonimo

Phil Harvey

Hi Nenonimo,

The -X option writes RDF/XML format, not XMP format.

To generate an XMP file, try this:

exiftool -tagsfromfile src.cr2 dst.xmp

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