ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: ChopOMatic on July 04, 2015, 01:24:57 PM

Title: Can I generate a log that shows all errors?
Post by: ChopOMatic on July 04, 2015, 01:24:57 PM
I'm processing 250,000 images in 10,000 directories, saving the output to a CSV file. No problems there in general; I have it working the way I want. As I watch the console during processing, however, I'm occasionally seeing a FILE NOT FOUND message scroll by. Is there a way to log these errors so I can go back and look at these exception files later to figure out what the problem is?
Title: Re: Can I generate a log that shows all errors?
Post by: Phil Harvey on July 04, 2015, 05:22:05 PM
I don't know what system you are running, but most shells (except notably C-shells) allow this syntax:

COMMAND 2> errors.txt

Here, error output from COMMAND will get written to "errors.txt".

- Phil
Title: Re: Can I generate a log that shows all errors?
Post by: ChopOMatic on July 05, 2015, 04:03:01 AM
Thanks for the speedy reply, Phil. I'm running it from the standard command-line tool in Windows 10 preview.