[Originally posted by robh on 2009-05-03 23:31:52-07]
Hey all,
I thought I was doing this before, but I cannot find any evidence that I have. I am using exiftool to extract JPG images from my Nikon RAW files, and it works great. Now, what I need to do is copy all of the tags over from the raw file to the JPG. How do I do this for multiple files in a directory without entering the command for each file.
For example, I have 10 files PIC_0001.NEF through PIC_0010.NEF. I use the -JpegFromRaw option and get 10 files PIC_0001.JPG through PIC_0010.JPG. Now, I want to do a exiftool -TagsFromFile for each of the 10 pictures. The only way I can see right now is to enter the command for each picture I converted. Since I shoot RAW exclusively now, that is going to take a lot of time. Is there some way to issue the command so that all files are included, or I would even go for a batch file to do it.
Your help would be greatly appreciated.
Rob
[Originally posted by exiftool on 2009-05-04 12:03:48-07]Hi Rob,
This is very similar to one of the "COPYING EXAMPLES" in the
documentation:
exiftool -tagsfromfile %d%f.CRW -r -ext JPG dir
Recursively rewrite all "JPG" images in "dir" with information
copied from the corresponding "CRW" images in the same directo-
ries.
- Phil