Finding corrupted images using command line
If you want to find corrupted image files using command line.
FEH:
feh -ur /opt/images
jpeginfo
find . -name "*jpg" -exec jpeginfo -c {} \; | grep -E "WARNING|ERROR"
exiftool
find . -iname '*jpg' -print0 | xargs -0 exiftool -warning; find . -iname '*jpg' -print0 | xargs -0 jpeginfo -c