Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
Corrupted in what way? – Octavian Damiean Mar 31 '11 at 9:12

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

share|improve this answer
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
Actually, it's feh --unloadable -r /opt/images or feh -ur /opt/images. – Scott Severance Apr 2 '11 at 22:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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