Repair corrupt PDF files under Linux
Now to repair damaged PDF files, only the software "Recovery Toolbox for PDF" has a good repair effect, and it is charged. It is difficult to find a cracked version, only the windows version.
After searching for a long time, I found that there is indeed a very good way to repair PDF files under Linux. The combination of the two methods is better:
mutool clean bad.pdf good.pdf
The exported files are almost repaired.
pdftocairo -pdf good.pdf best.pdf
In this way, a pdf file with better recovery effect can be exported. Of course, it cannot be guaranteed that 100% of the content can be recovered.
------ English version------
The best PDF recovery software is “Recovery Toolbox for PDF” in Windows, but it is not free and no cracked version.
I find the useful tools for a long time, and find a best way in Linux to repair corrupted PDF file.Combining two methods will be good:
1.mutool clean bad.pdf good.pdf
This way pdf file is to be recovered the the most data .
2.pdftocairo -pdf good.pdf best.pdf
This way is to continue to recover the visible content.
mutool is from http://mupdf.com/ and pdftocairo is from poppler.
Original Page:http://superuser.com/questions/278562/how-can-i-fix-repair-a-corrupted-pdf-file