How to copy data across iptc fields on the same file

Started by Manufrommadrid, April 02, 2020, 04:33:47 AM

Previous topic - Next topic

Manufrommadrid

Hello everyone:

I would like to know how to achieve this:

I need to copy existing data from "Title" IPTC field to "Headline" IPTC field for the same file.
In other words, imagine I have a file with the following Title (iptc field) "Red flower", and the current headline iptc field is blank. What I want to do is to paste "Red Flower" on the headline iptc field.

I would also want to know if it is possible to do that for all the files inside a folder at the same time.

Thank you very much in advance!

Manufrommadrid



I'm also posting this picture, so you can clearly see what I want to do ;)

Phil Harvey

Generally, the command would be:

exiftool "-headline<title" DIR

But I'm anticipating that you will run into FAQ number 3.  If so, use your other software to write Headline then use this command to see where it should go:

exiftool -headline -G1 FILE

then use a command like this command to copy Title to the same location that your software uses (here I assume that Headline is in XMP-photoshop):

exiftool "-xmp-photoshop:headline<title" DIR

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

Manufrommadrid