I am constructing argument files to set tags in .jpg files. My command line entry is:
exiftool -@ "D:/From-Netbook/Photographs/Boxed Slides/Slide ids/Comments.args" -common_args -L -P -v -overwrite_original
and a typical entry in the Comments.args file is:
-Caption-Abstract="Al, Sandy, Zermatt, July 54"
"D:/From-Netbook/Photographs/Boxed Slides/1954 Southwest Europe AYH/074 28 Al, Sandy, Zermatt, July 54.jpg"
-execute
I am getting error messages:
======== "D:/From-Netbook/Photographs/Boxed Slides/1954 Southwest Europe AYH/074 28 Al, Sandy, Zermatt, July 54.jpg"
0 image files updated
1 files weren't updated due to errors
for all the items in the .args file.
However when I enter:
exiftool -L -P -v -overwrite_original -Caption-Abstract="Al, Sandy, Zermatt, July 54" "D:/From-Netbook/Photographs/Boxed Slides/1954 Southwest Europe AYH/074 28 Al, Sandy, Zermatt, July 54.jpg"
with the filename and tag setting cut and pasted from the .arg file I see:
======== D:/From-Netbook/Photographs/Boxed Slides/1954 Southwest Europe AYH/074 28 Al, Sandy, Zermatt, July 54.jpg
Rewriting D:/From-Netbook/Photographs/Boxed Slides/1954 Southwest Europe AYH/074 28 Al, Sandy, Zermatt, July 54.jpg...
Editing tags in: APP13 IPTC Photoshop
JPEG APP0 (14 bytes):
JPEG APP13 (226 bytes):
Rewriting Photoshop
Rewriting IPTC
JPEG COM (38 bytes):
JPEG DQT (65 bytes):
JPEG DQT (65 bytes):
JPEG SOF0:
JPEG DHT (27 bytes):
JPEG DHT (72 bytes):
JPEG DHT (25 bytes):
JPEG DHT (53 bytes):
JPEG SOS
1 image files updated
and the tag is set.
Can you see any reason that this should work as a single command, but not executing from an argument file?
You do not quote arguments in the argfile.
- Phil
Thank you, thank you thank you!
I was (incorrectly) extrapolating from parsing errors when I put file names with spaces into the command interface.
I'm going back a read the documentation to see what else I may have missed.