Hi, as an Exiftool newbie and I am fighting with Exiftool commands in order to copy metadata (e. g. keywords) from xmp file into cr2 file. I would prefer doing it in a batch - for all files in particular directory. Could you please help?
The command would look like this:
exiftool -tagsfromfile %d%f.xmp -xmp:all -ext cr2 DIR
This command will copy all writable XMP tags from all XMP files in directory DIR to the same-named CR2 files in the same directory. To copy selected tags instead, substitute -xmp:all with the tags you want coped (ie. -xmp:subject -xmp:title ...).
See the -tagsFromFile section of the application documentation (https://exiftool.org/exiftool_pod.html) for more details about this feature.
- Phil
Quote from: millan on September 15, 2013, 10:32:14 AM
Hi, as an Exiftool newbie and I am fighting with Exiftool commands in order to copy metadata (e. g. keywords) from xmp file into cr2 file. I would prefer doing it in a batch - for all files in particular directory. Could you please help?
I am trying to do something similar, but I would like to extract keywords from multiple JPEG files into a single .txt file. It would be even better if I could extract the keywords to Microsoft excel, but I can't tell if this program can do that.
I think that reading FAQ number 12 (https://exiftool.org/faq.html#Q12) should get you going in the right direction.
- Phil