IT/Software/Command Line Applications/PDF Toolkit
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
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