Hello everybody,
I hope somebody can help us. We have a lot of pictures with data in a special meta tag (IPTC:keywords) but in the wrong metadata field. The problem is to copy the information of the meta tag from one tag to another tag but in the same image file. We dont want to change the filename and we have to batch the process. (because there are around 20 000 images in a directory)
So what we want is to copy the information of IPTC Tag "keywords" to the XMP Tag xmp:subject of the same image file and in a defined directory. Is this possible?
Regards, Volkmar
Hi Volkmar,
Yes, this is trivial:
exiftool "-xmp:subject<iptc:keywords" DIR
- Phil
Hi Phil,
thank you very much!! It worked for around 98% of all files. :) Only 600 files are unchanged because they have minor warnings. Some of them have duplicate XMP propertys, for example exif-DateTime or ResolutionUnit or another minor warnings. Is there a way to ignore this warnings and change anyway?
Thank you very much for you help,
Volkmar
Minor warnings may be ignored with the -m option. For bigger problems the metadata must be rebuilt (see FAQ 20 (https://exiftool.org/faq.html#Q20)).
- Phil