I'm using the KODI application with OpenELEC on my Raspberry. I like run a slideshow with my pics displaying the people tag information which need to be stored in IPTC:Keywords for that purpose. How to I use exiftool to copy IFD0:XPKeywords to IPTC:Keyword ? In this example, I wiped out existing Tags in IPTC:Keywords. Ideally, the command just adds all IFDO:XPKeywords to IPTC:Keywords without creating duplicates, any idea how to achieve that ?
This one doesn't work as the individual Tags from XPKeywords are interpreted wrongly:
exiftool "-IFD0:XPKeywords>IPTC:Keywords" -ext jpg c:\test
returns
Warning: [minor] IPTC:Keywords exceeds length limit (truncated)
The IPTC.Keywords are seperated by a semikolon then rather than by a star and the fourth tag is cutted down to three digits
Expected result for IPTC:Keywords:
Tag1*Tag2*Tag3*Tag4
My Result after running the command:
Tag1;Tag2;Tag3;Tag[cutted here]
It sounds like you should be splitting the XPKeywords (which is a single string) into separate IPTC Keywords when copying. You can use the -sep option for this. See FAQ 17 (https://exiftool.org/faq.html#Q17) for some help with List-type tags.
- Phil
Thanks again, Phil, you saved my day ;-)
So my command syntax looks like:
exiftool -sep "; " "-IFD0:XPKeywords>IPTC:Keywords" -ext jpg -r c:\temp\test
and copies the tags from XPKeywords to IPTC:Keywords like a charme.