Hello:
I am doing this process
exiftool.exe -Keywords="Peter" -Keywords="John" -Keywords="Susi" myimage.jpg > errors.txt
Normally I see on the cmd several error (they go to fast) but on the errors.txt I only get
1 image files updated
I would like to get all errors, and if possible with the image name that creates the error.
It is possible?
Thanks
Emilio
Hi Emilio,
Try this:
exiftool -Keywords="Peter" -Keywords="John" -Keywords="Susi" myimage.jpg 2>errors.txt
Errors go to stderr, which is filehandle number 2, and can be redirected separately from stdout. You can redirect both to different files:
exiftool ... >out.txt 2>errors.txt
or both to the same file:
exiftool ... >combined.txt 2>&1
- Phil
Phil:
Works great... thaks
Emilio
***********
Quote from: Phil Harvey on February 07, 2012, 12:05:39 PM
Hi Emilio,
Try this:
exiftool -Keywords="Peter" -Keywords="John" -Keywords="Susi" myimage.jpg 2>errors.txt
Errors go to stderr, which is filehandle number 2, and can be redirected separately from stdout. You can redirect both to different files:
exiftool ... >out.txt 2>errors.txt
or both to the same file:
exiftool ... >combined.txt 2>&1
- Phil