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) No edit summary |
Walttheboss (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
## remove password | ## remove password | ||
<code>pdftk inputFileName.pdf input_pw actualPassword output outputFileName_no_pw.pdf</code> | <code>pdftk inputFileName.pdf input_pw actualPassword output outputFileName_no_pw.pdf</code> | ||
## add a password | |||
<code>pdftk inputFileName.pdf output outputFileName.pdf user_pw actualPassword</code> |
Revision as of 06:32, 22 January 2020
PDF Toolkit of pdftk from the command line
History
- Worked will till somewhere in 18.04
- Now must be a snap install ##
sudo snap install 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