[Originally posted by bogdan on 2007-10-16 17:24:40-07]
Here I am again.... after burning-out my brains.
Let's assume my current working directory is "c:\" (root of c drive) and my image files are inside "d:\images\2007\".
Now, there are (among others) two images, which I wish to modify: "sky.tif" and "beach.jpg".
Working from my current directory (c:\),I can write:
exiftool -exif:make=Canon "d:\images\2007\sky.tif" "d:\images\2007\beach.jpg"
It's obvious that isn't practical, when having deep directory structure and many image files (in the same directory, of course).
And the question: is there something like:
exiftool -WorkingDir "d:\images\2007\" -exif:make=Canon "sky.tif" "beach.jpg"
If there's such thing, then short example would do :-) Thanks
Bogdan
PS: I've tried some options (-o, -w) using FMT (no idea how it works) -without success :-(
[Originally posted by exiftool on 2007-10-16 17:54:10-07]Hi Bogdan,
ExifTool has no option to specify a working directory, so this must
be done using shell features. In Unix shells, your command can be simplified
like this:
exiftool -exif:make=Canon d:/images/2007/{sky.tif,beach.jpg}
But with what I know about Windows shells, I doubt this will work for you.
So maybe your best option is to change directory:
cd d:\images\2007; exiftool -exif:make=Canon sky.tif beach.jpg
I think this stands a better chance of working for you, although it may
not be exactly what you wanted.
- Phil
[Originally posted by bogdan on 2007-10-16 18:54:13-07]
Thanks for answering. I was hoping there is "something" hidden... now, I'll try to adapt my GUI code a bit :-)
Have a nice day,
Bogdan