Most cool, thank you. I can use a 'for i in ...' around it, and watch for
any output which is an error.
Very useful; thanks again.
--STeve Andre'
On 10/20/13 23:57, Andy Hayward wrote:
Use convert from ImageMagick.
$ convert image.jpg /dev/null &> /dev/null ; echo $?
Should display 0 for valid files, 1 for corrupt files.
On Sat, Oct 19, 2013 at 2:19 AM, STeve Andre' <and...@msu.edu
<mailto:and...@msu.edu>> wrote:
Is there such a program in the ports tree? I thought there was,
but I can't find it. I have a few corrupted jpeg's and I'd like to be
able to easily test them.
Thanks, STeve Andre'