Skip to content

Instantly share code, notes, and snippets.

@azizasm
Created August 30, 2019 03:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azizasm/796ddca061c0402f8d5ba7c900d24361 to your computer and use it in GitHub Desktop.
Save azizasm/796ddca061c0402f8d5ba7c900d24361 to your computer and use it in GitHub Desktop.
pdftk dockers - encrypt pdf files
1) Play with dockers
2) ssh and transfer *PS.pdf files
3) docker run -v $(pwd):/work mnuessler/pdftk
4)
docker run -v $(pwd):/work mnuessler/pdftk 213-Haslina-PS.pdf output 213-Haslina-PS-enc.pdf owner_pw xxxx user_pw yyyyy allow printing
5) download
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment