Skip to content

Instantly share code, notes, and snippets.

@dpapathanasiou
Created March 15, 2020 14:27
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