ExifTool Forum

ExifTool => Newbies => Topic started by: pixeldroid on November 16, 2016, 07:16:08 PM

Title: Write Output to a Single File?
Post by: pixeldroid on November 16, 2016, 07:16:08 PM
Hello:
Trying to write output to a single file.
The manual states:

"For example, to write one output file for all source files in each directory:"
exiftool -filename -createdate -T -w+! %d/out.txt -r DIR

But I am getting a txt file for each image.  My code is:
exiftool -w+! ./%f.txt -IPTC:all "D:\Projects\DesktopServer\plugin-tester.dev\wp-content\plugins\global-gallery\albums\test"

What is my mistake?
Thanks.


Title: Re: Write Output to a Single File?
Post by: Hayo Baan on November 17, 2016, 01:15:39 AM
If you replace %f with e.g. out you'll just get one file. %f is replace with the name of the file being processed, hence one file for each image :)