Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Scripting the pdftk-java jar to work like the pdftk binary
alias pdftk='$HOME/.pdftk.sh'
#!/bin/sh
# download the jar from https://gitlab.com/pdftk-java/pdftk/-/releases
java -jar /usr/local/pdftk/pdftk-all.jar "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.