#!pkk

pawel koston

  • Blog
  • linux
  • Catalog
Subscribe
#bash #jpeg #linux

Finding corrupted images using command line

If you want to find corrupted image files using command line.

  1. FEH:

    feh -ur /opt/images
  2. jpeginfo

    find . -name "*jpg" -exec jpeginfo -c {} \; | grep -E "WARNING|ERROR"
  3. exiftool

    find . -iname '*jpg' -print0  | xargs -0 exiftool -warning; find . -iname '*jpg' -print0  | xargs -0 jpeginfo -c
Author pawelkoston
← Next Post   Previous Post →
  • #!pkk
  • EN
  • PL
  • projects
  • archive
  • RSS