Hi -
I successfully took the gps in the xmp sidecar and embedded them in the raw file by using
exiftool -tagsfromfile %d/%f.xmp -@ xmp2gps.args
I'd like to do the same thing with the description & keywords in the xmp sidecar and put them in the raw, but can't quite figure this one out :o. Any thoughts?
Many thanks!
I don't use sidecar files so I'm not sure, but I think your command would be
exiftool -tagsfromfile %d/%f.xmp -Subject -Description TargetFileOrDir
Close.
That command took the description and keywords from the xmp sidecar and put them into the xmp section of the raw file.
I would like to transfer them to the exif section of the raw file.
You could use "-ImageDescription<Description" for part of it, but Keywords doesn't have a corresponding tag in EXIF. The closest would be XPKeywords, but that is a string, not a list type tag. To do that, you'd have to use -sep ";" "-XPKeywords<Subject"
Quote from: StarGeek on December 10, 2016, 01:10:56 AM
You could use "-ImageDescription<Description" for part of it, but Keywords doesn't have a corresponding tag in EXIF. The closest would be XPKeywords, but that is a string, not a list type tag. To do that, you'd have to use -sep ";" "-XPKeywords<Subject"
There is a Keywords tag in the IPTC, that's what I would use. Look at the metadata workgroup suggestions for details: https://exiftool.org/TagNames/MWG.html
I would not suggest XPKeywords since that is a Microsoft only tag, not used by anything else.
Quote from: Hayo Baan on December 10, 2016, 04:07:28 AM
I would not suggest XPKeywords since that is a Microsoft only tag, not used by anything else.
I agree. I'm just focusing on the -exif:imagedescription piece. I'm not going to worry about keywords.