This is another one of those cases where I am adding something to my blog so that I wont forget it. If it ends up being of use to you also, then cool.
If you have a protected PDF file that you want to remove the password from and decrypyt, here is how to do it.
For debian / Ubuntu installs, add a program called “qpdf”.
sudo apt-get install qpdf
If your pdf is called “file.pdf”, with a password of “blah”, it would go something like this…
qpdf --password=blah --decrypt file.pdf file2.pdf
So, file2 would have the password removed and be decrypted.
Note, also check out pdftops. You can use it to covert a PDF to a Post Script file. Handy to import a pdf into a word or open office doc.
Leave a Reply
You must be logged in to post a comment.