IT/Software/Command Line Applications/PDF Toolkit: Difference between revisions

From msgwiki
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.
Line 5: Line 5:
##Now must be a snap install
##Now must be a snap install
<code>sudo snap install pdftk</code>
<code>sudo snap install pdftk</code>
## You can add this symlink back in so that other apps can access pdftk as if it was in the normal/old location
## You can add this symlink back in so that other apps can access pdftk as if it was in the normal/old location



Revision as of 14:23, 14 February 2020

PDF Toolkit or pdftk from the command line

History

  1. Worked well till somewhere in 18.04
    1. Now must be a snap install

sudo snap install pdftk

    1. You can add this symlink back in so that other apps can access pdftk as if it was in the normal/old location

sudo ln -s /snap/pdftk/current/usr/bin/pdftk /usr/bin/pdftk


Purpose

Manipulate pdf documents

Usage

  1. change password status
    1. You need to know the password in both cases
    2. remove password

pdftk inputFileName.pdf input_pw actualPassword output outputFileName_no_pw.pdf

    1. add a password

pdftk inputFileName.pdf output outputFileName.pdf user_pw actualPassword