Just copy from XMP to IPTC

Started by Xyzzy, March 02, 2015, 07:03:22 AM

Previous topic - Next topic

Xyzzy

Hi,

I have a problem with copying data from XMP (dc:Subject keywords) to IPTC (Keywords) in the same file:

exiftool.exe -IPTC:Keywords=XMP-dc:Subject  somefile.JPG

puts into IPTC literally the text "XMP-dc:Subject". The command:

exiftool.exe -XMP-dc:Subject  somefile.JPG

prints expected output (multiple keywords).

What am I doing wrong?

TIA

Phil Harvey

You must use the ExifTool copy operator (<), not the assignment operator (=).

I make this mistake sometimes myself.

Also note that you will have to put quotes around the argument because "<" is a special character in most shells.

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

Xyzzy