I'm trying to set the all the tags except the creation date from a jpeg file to all the cr2 (raw) files in a directory.
I'm trying:
exiftool -tagsfromfile %d%33333-01.jpg -r -ext CR2 POSIXpath
where 33333-01.jpg is the name of the jpg and the POSIXpath is the path to my directory (folder) that contain the cr2 files, but I get a file not found error. How do I specify the proper FOLDER?
Thanks.
Pedro
Hi Pedro,
This sounds very dangerous to me. You could quite easily write some tags (like Make, Model and Makernotes) that would make the CR2 files unreadable by some software.
I would advise against writing en-mass to a RAW file like this. Instead, specify only the tags that you want to move, after the -tagsfromfile option on the command line.
- Phil
OK, I'll specify only the tags I want but how do I specify the directory of the cr2 files if they are in another folder?
Thanks.
Pedro
The %d in your -tagsfromfile argument represents the directory of the target files. Replace this with the actual directory name if they are in a different directory. Also, I just notice you have an extra "%" that shouldn't be there after the %d. Just the file name alone will do if it is in the current directory.
- Phil