1
Given a .xmp file as the below, how to leverage exiftool
to write the edited metadata in the .xmp back into the associated .jpg file?
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:exif="http://ns.adobe.com/exif/1.0/"
xmlns:xmp="http://ns.adobe.com/xap/1.0/"
xmlns:MY="http://ns.mylollc.com/MyloEdit/"
xmlns:tiff="http://ns.adobe.com/tiff/1.0/"
xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
exif:DateTimeOriginal="2005-10-17T13:32:55.000Z"
exif:ModifyDate="2005-10-17T13:32:55.000Z"
xmp:CreateDate="2005-10-17T13:32:55.000Z"
xmp:MetadataDate="2019-03-16T04:22:26.827Z"
MY:DateConfidence="Full"
MY:flag="false"
MY:processVersion="1"
MY:MetadataDate="2019-03-16T04:22:26.827Z"
tiff:Orientation="1"
xmpMM:DocumentID="5876F9B0-5C6C-4121-87C3-2708E32B6050"
xmpMM:OriginalDocumentID="5876F9B0-5C6C-4121-87C3-2708E32B6050"
xmpMM:InstanceID="xmp.iid:7EDC21BF-371B-4189-90AF-C83A54A6A190"/>
</rdf:RDF>
</x:xmpmeta>```
1You can also write it as a block like this: exiftool "-xmp<=SRC.xmp" DST.jpg – PhilHarvey – 2019-07-30T15:07:30.520