Are there any good Ubuntu/Debian/Linux-based tools for identifying corrupted jpeg images in a collection of tens of thousands? I know that there are a few in there, but I can't bring myself to view them all manually, even at the thumbnail level.


It might not be perfect, but you could use feh -p and examine the error messages generated.

  • From info feh ... feh --unloadables -r /opt/images Weed out (list) all the unloadable images in /opt/images and below. – Peter.O Apr 2 '11 at 11:22
  • 2
    Actually, it's feh --unloadable -r /opt/images or feh -ur /opt/images. – Scott Severance Apr 2 '11 at 22:50
  • Missed a description, or a link: man.finalrewind.org/1/feh "feh is an X11 image viewer aimed mostly at console users". – amotzg Dec 26 '16 at 7:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.