Last active
February 5, 2020 09:45
-
-
Save gapato/98538844b98ec97fa4310c1905db1a22 to your computer and use it in GitHub Desktop.
pdfjoin
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/zsh | |
OUT=${1:r}.joined.${1:e} | |
cmd="qpdf --empty --pages" | |
for i in $*; do; | |
cmd="$cmd '$i'" | |
done | |
cmd="$cmd -- '$OUT'" | |
echo $cmd | |
eval ${cmd} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment