Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

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

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

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. –  user1917830 Aug 22 '11 at 7:49

1 Answer 1

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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