On 06/28/2012 02:07 PM, Calvin Morrison wrote: > use an image program to open the image that will error out and close if the > file is corrupt. Check the return value of the program, if it exits with an > error, then echo "blah blah blah" or something. Ahh 'feh' comes to mind... Thanks :) -- David C. Rankin, J.D.,P.E.