Install jpeginfo:

$ apt install jpeginfo

Change directory to image directory and run jpeginfo -c on all image files:

$ cd IMG_DIR
$ find -name "*.jpg" -print0 | xargs -0 jpeginfo -c | grep -e WARNING -e ERROR

results matching ""

    No results matching ""