Hello,
for some years I copy the exif data from RAWs to my developed JPGs with the following statement (OS is Windows 7):
exiftool -tagsfromfile ..\%%d%%f.NEF -ext JPG .
That works always fine. No I upgraded my Ixus camera with CHDK, a tool that creates DNG files synchron with JPGs. The DNGs lack a lot of exif tags, so I want to transfer them from the original JPGs to the developed ones. Originals are located in the parent directory of the developed ones.
The statement
exiftool -tagsfromfile ..\%%d%%f.JPG -ext JPG .
produces error messages like this:
Error: Error opening file - ..\%./%Bergstrasse-01.JPG
Error: Error opening file - ..\%./%Bergstrasse-02.JPG
Error: Error opening file - ..\%./%Bergstrasse-03.JPG
Error: Error opening file - ..\%./%Bergstrasse-04.JPG
What is wrong here? Transfer for single pictures like the following example works fine:
exiftool -tagsfromfile ..\Krokus-01.jpg --orientation -software="CHDK 1.3 + Lightroom 4" -comment="mit Lightroom 4 erzeugt" Krokus-01.jpg
Manni1
Hi Manni,
You need to double the "%" characters only when running a command from inside a Windows .bat file. If you are running directly from the command line, then use %d%f instead of %%d%%f.
- Phil
Oh no !!
I should have known this. Sorry, Phil and thanks.