Created
March 15, 2020 14:27
-
-
Save dpapathanasiou/47e116f7d8e97709dabcf74677daef9f to your computer and use it in GitHub Desktop.
Scripting the pdftk-java jar to work like the pdftk binary
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias pdftk='$HOME/.pdftk.sh' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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