I have near about 116222 .pdf files. Among them I need to find out the corrupted files.

Is there any software (free or paid) to get the files which are corrupted – or vice versa, get those that are working?

I searched a lot but could not find any. All the results were showing me software to fix broken PDFs.

link|improve this question
What's your definition of corrupted? Unreadable by Adobe Reader? Zero pages long? ... – Frank Schmitt Aug 22 '11 at 7:47
Yes, that cant be open with adobe reader. – ARINDAM RUDRA Aug 22 '11 at 7:49
feedback

migrated from stackoverflow.com Aug 22 '11 at 8:01

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 0 down vote accepted

You could use something like Ghostscript to read them all and convert them to bitmap images which are not written to a file (e.g. on Linux redirect output to /dev/null). A script could check for return codes and error messages.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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