I have processed a number of jpeg files in CaptureOne, assigning colour labels and star ratings, which are saved in separate .xmp files.
I believe the tags are "Rating" and "Label".
How can I embed these tags into the jpeg themselves? And does it make a difference is some files are .jpg and others .jpeg?
I'd like one command to process all the files in a given folder.
After many attempts, the closest I got to was:
exiftool -tagsfromfile %d%f.xmp -all:all -r -overwrite_original -P -ext jpg
but this doesn't work (no file specified).
This is the closest discussions I found: https://exiftool.org/forum/index.php?topic=5539.0
The GUI seems to do something similar (copy into all JPG: https://exiftool.org/gui/#m_exp_imp ) but I'd like to understand how to do it from the command line
Thank you!
exiftool -tagsfromfile %d%f.xmp -all:all -r -overwrite_original -P -ext jpg .
but this doesn't work (no file specified).
You need to specify where the files are - if you want all the files in the current directory and sub-directories add the "." at the end of your command
I see - thanks!
Should I specify that only "Rating" and "Label" should be updated - is there a way to do that?
Also, is there a way to add a wildcard for the file extension, something like jp*g (which doesn't work) to process both jpg and jpeg files?
The command could look like this:
exiftool -tagsfromfile %d%f.xmp -rating -label -r -overwrite_original -P -ext jpg -ext jpeg .
This is assuming that you want to copy the default XMP Rating and Label tags, and adds .JPEG files to the search.
- Phil