ExifTool Forum

General => Metadata => Topic started by: Marsu42 on October 08, 2014, 12:39:06 PM

Title: Reconcile iptc/exif with xmp tags?
Post by: Marsu42 on October 08, 2014, 12:39:06 PM
Is there a comprehensive way to copy/sync all contents of iptc and exif tags to the respective standard mirror xmp tags, or do I need I script single tag-to-tag copy operations myself? Thanks for any advice!
Title: Re: Reconcile iptc/exif with xmp tags?
Post by: StarGeek on October 08, 2014, 03:12:13 PM
In the main perl package (not the executable), there are two arg files that will copy all the xmp to IPTC and IPTC to xmp.  You would simply use exiftool -@ iptc2xmp.args <file/dir> or exiftool -@ xmp2iptc.args <file/dir>, depending upon which way you want to go.  Either of these will overwrite the other set of tags.

If you have mismatched tags, though, and aren't sure which ones you want, it's a different story.
Title: Re: Reconcile iptc/exif with xmp tags?
Post by: Marsu42 on October 08, 2014, 03:33:15 PM
Quote from: StarGeek on October 08, 2014, 03:12:13 PM
In the main perl package (not the executable), there are two arg files that will copy all the xmp to IPTC and IPTC to xmp.  You would simply use exiftool -@ iptc2xmp.args <file/dir> or exiftool -@ xmp2iptc.args <file/dir>, depending upon which way you want to go.  Either of these will overwrite the other set of tags.

Great, thanks, that's exactly what I'm looking for!

Hopefully, sooner or later a smarter, conflict-resolving approach will turn up as xmp gets more important all the time while I cannot see iptc/exif being phased out anytime soon.