IT/Software/Command Line Applications/PDF Toolkit: Difference between revisions
Access restrictions were established for this page. If you see this message, you have no access to this page.
Walttheboss (talk | contribs) |
Walttheboss (talk | contribs) |
||
Line 2: | Line 2: | ||
===History=== | ===History=== | ||
# Worked well till somewhere in 18.04 | #Worked well till somewhere in 18.04 | ||
## 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 | |||
<code>sudo ln -s /snap/pdftk/current/usr/bin/pdftk /usr/bin/pdftk</code> | <code>sudo ln -s /snap/pdftk/current/usr/bin/pdftk /usr/bin/pdftk</code> |
Revision as of 14:24, 14 February 2020
PDF Toolkit or pdftk from the command line
History
- Worked well till somewhere in 18.04
- Now must be a snap install
sudo snap install pdftk
- 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
- change password status
- You need to know the password in both cases
- remove password
pdftk inputFileName.pdf input_pw actualPassword output outputFileName_no_pw.pdf
- add a password
pdftk inputFileName.pdf output outputFileName.pdf user_pw actualPassword