copy a tag from raw file to another tag in corresponding xmp sidecar

Started by paolgab, May 08, 2020, 06:46:39 AM

Previous topic - Next topic

paolgab

I
I'm very newbie here.

I'd like for each file into a directory to copy the content of the tag FilmMode from a raw RAF file into the tag Rights of the corresponding xmp sidecar file

For istance the source file name is DSXF1234.RAF and the content of the tag FilmMode is Classic Chrome;
I'd like to copy Classic Chorme into the tag Rights of the file DSXF1234.RAF.xmp

I'm unable to get the results with a single file yet ???
I read the documentation and a lot of examples here and in internet in general but I don't understand.

I tried
exiftool -FilmMode DSXF1234.RAF -Rights DSXF1234.RAF.xmp

I tried various combination with < and = after -Rights with and without quotes

Tankyou in advance for your help and anyway for your job!

Paolo


Phil Harvey

Hi Paolo,

Try this:

exiftool -tagsfromfile %d%f "-Rights<FilmMode" -ext xmp DIR

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

paolgab

Hi Phil
thank you very much for your quick and kind answer :D
Paolo