I am using the magick identify {filename} to determine if some jpg are damaged. The results go to the screen. How can I get it to a text file.
I added >> c:\txt.txt but that didn't seem to work.
magick indentify results piped to txt file
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: magick indentify results piped to txt file
It works fine for me:
Code: Select all
magick identify -verbose rose: >x.txt
snibgo's IM pages: im.snibgo.com
Re: magick indentify results piped to txt file
Actually, if the file is damaged is show as an error, so its magick identify -verbose [filename] > t.txt 2>&1
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: magick indentify results piped to txt file
Yes, that will also send stderr to the text file. Do you still have a question?
snibgo's IM pages: im.snibgo.com