how to copy EXIF:XPtitle to IPTC:headline

Started by Archive, May 12, 2010, 08:54:25 AM

Previous topic - Next topic

Archive

[Originally posted by klapperstorch on 2008-10-04 08:02:00-07]

I want to copy the EXIF:XPtitle field (and other such XP fields) to IPTC:headline (and other IPTC fields) within the same JPEG-file.
What is the correct way of doing this with ExifTool?
Thanks for suggestions.
Bert

Archive

[Originally posted by klapperstorch on 2008-10-04 08:17:51-07]

Of course I mean: copying the data in a number of files with a single command.
Bert

Archive

[Originally posted by klapperstorch on 2008-10-04 08:46:57-07]

Answering my own question:

Code:
for %%f in (*.jpg) do exiftool -TagsFromFile %%f "-EXIF:XPtitle>IPTC:headline" %%f

Bert

Archive

[Originally posted by exiftool on 2008-10-04 10:58:15-07]

Hi Bert,

It is very common for people who know shell scripting
to want to use a for loop, but these are almost never
necessary with exiftool.  An equivalent command is:

Code:
exiftool -ext jpg "-EXIF:XPtitle>IPTC:headline" .

Note I have also dropped the "-tagsFromFile @", which is
implied by the "-SRCTAG>DSTTAG" argument.

- Phil

Archive

[Originally posted by dumketu on 2008-10-25 20:28:23-07]

I tried this and can not get it to work. I want to copy IPTC:comment-abstract to IPTC:headline in a bunch of files.

-Dumketu

Archive

[Originally posted by exiftool on 2008-10-25 22:21:18-07]

Hi Dumketu,

What system are you running?  What command line
did you use?  What version of exiftool are you using?

- Phil