jpeginfo is used to generate informative listings of  jpeg
files,  and  also  to check jpeg files for errors. Program
also supports automatic deletion of broken jpegs.

WWW: http://www.kokkonen.net/tjko/projects.html