ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: Wayo3 on September 28, 2011, 02:40:10 PM

Title: How to move all contents XMP of one file to another file?
Post by: Wayo3 on September 28, 2011, 02:40:10 PM
Hi,

I've tested with the line -tagsfromfile ..... "-xmp> xmp" .... but does not work

I tested copy the regionpersondisplayname and work ok with the -tagsfromfile line, but  not copy coordinates

thanks
Title: Re: How to move all contents XMP of one file to another file?
Post by: Phil Harvey on September 28, 2011, 07:52:56 PM
This argument will copy the XMP as a block.  For example:

> exiftool a.jpg -xmp:all
XMP Toolkit                     : Image::ExifTool 8.65
Title                           : test title

> exiftool b.jpg -xmp:all

> exiftool b.jpg -tagsfromfile a.jpg "-xmp> xmp"
    1 image files updated

> exiftool b.jpg -xmp:all
XMP Toolkit                     : Image::ExifTool 8.65
Title                           : test title


If the coordinates are in the XMP, they will be copied.  If they aren't copied, it is probably because they are in the EXIF, not the XMP.  Read FAQ 3 for some help.

- Phil