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

protected by slhck Dec 3 at 9:04

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

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

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