If I missed this in a search, my apologies.
I've been able to get output redirection to work with good success for a single image file:
Copy exiftool.exe into the PATH then create a batch file:
exiftool %1 > %1.txt
Simple. Drag & drop an image file onto the batch file. Exiftool runs and drops its output into the same folder as the image file being processed using the image file's name.
My question is this: Can I do the same basic thing, within the batch file model, except for a folder containing multiple files?
In the meantime I will be going through the /? help to see what I (probably) missed.
Thanks!
Ken...
If you want a single text file for each image file, take a look at the -w (textout) option (https://exiftool.org/exiftool_pod.html#w-EXT-or-FMT--textOut).
You could use
exiftool -w .txt %*
in your batch file and it would create a .txt file for each image file. For example, IMG_0001.jpg would have a matching IMG_0001.txt. If, instead, you want IMG_0001.jpg.txt like your original batch command, you would use -w %d%F.txt instead
Quote from: StarGeek on June 02, 2019, 03:50:32 PM
If you want a single text file for each image file, take a look at the -w (textout) option (https://exiftool.org/exiftool_pod.html#w-EXT-or-FMT--textOut).
You could use
exiftool -w .txt %*
EXCELLENT! Thank you - works like a charm. Drop a folder of files unto the .bat file and I get a txt file for each. Drop a single file and I just get the one. Perfect!
QuoteIf, instead, you want IMG_0001.jpg.txt like your original batch command, you would use -w %d%F.txt instead
No need, though that does make sense. Your first commandline obsoleted my original, and that's a good thing!
Ken...