Scan folders for corupted jpegs
Posted: 2016-01-19T05:53:29-07:00
Hi,
I would like to scan the whole folder for corupted images. I know it is possible to do that with this command in the desired folder:
identify -verbose -regard-warnings *.jpg
But it takes tooo much time, it writes back all the information about all the images. But i want just to get info which images are corrupted.
I found this by Google:
find . -name \*.jpg -exec identify -verbose -regard-warnings {} >/dev/null "+"
but it does not work for me.
Do you have any idea how to do that?
I would like to scan the whole folder for corupted images. I know it is possible to do that with this command in the desired folder:
identify -verbose -regard-warnings *.jpg
But it takes tooo much time, it writes back all the information about all the images. But i want just to get info which images are corrupted.
I found this by Google:
find . -name \*.jpg -exec identify -verbose -regard-warnings {} >/dev/null "+"
but it does not work for me.
Do you have any idea how to do that?