Unlocking pdf files

Discussion in 'all things UNIX' started by vasa1, Apr 15, 2012.

Thread Status:
Not open for further replies.
  1. vasa1
    Offline

    vasa1 Registered Member

    I get some financial statements in the form of password-protected pdf files. Needless to say, the passwords are set by the senders using some combination of my personal data. Since they're a pain to remember, I've been using the facility in Evince to "unlock forever" so that I subsequently don't have to re-enter (and remember each password). However, this unlocking is restricted to Evince because Evince just stores the password and supplies it the next time I open the file.
    An alternative is to use qpdf to decrypt the file once and for all. qpdf is a tiny install and the syntax isn't too challenging:
    Code:
    qpdf --password=PASSWORD --decrypt infile.pdf outfile.pdf
  2. chrisretusn
    Offline

    chrisretusn Registered Member

    Thanks, definitely a useful tool to have in your box.
Thread Status:
Not open for further replies.