Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 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
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

You must log in to answer this question.

protected by slhck Dec 3 '14 at 9:04

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged .