Copy metadata fields from one file to another

Started by pmbvw, June 07, 2017, 11:40:35 AM

Previous topic - Next topic

pmbvw

I have cleaned up my IPTC and XMP-data through ECPs ,,Delete IPTC data" and ,,Delete XMP data".
Now the rating of nearly 10.000 pics are lost in these pics.

I have a backup of these pics from before the cleanup.

Does anyone has an advice, example or script for an automatic update of the fields:
EXIF Rating
XMP xmp rating
from the identical filenames in directory a
to the same filename in directory b.

Thanks in advance.
Peter

axel.hennig

Hi Peter,

I would do something like:


exiftool.exe -overwrite_original_in_place -TagsFromFile "C:\path\to\backupfile\abc123.jpg" -XMP-xmp:Rating "C:\path\to\originalfile\abc123.jpg"


Since this should be a "one-time" job, I would just make one line per backup/original-file (for example with Excel).

After that you should run "Reload Metadata" in IMatch and IMatch will do the "copy XMP-Rating to EXIF-Rating".

Hope this helps.

pmbvw

Thank you Axel for your answer and Tip.
I will test it  in the next few days and give you an answer.

If it is really so easy, I will be happy

und sage Danke ;-)