-
-
Save ruthenium/4bbb2610606b8678830c5d4aa776b5f7 to your computer and use it in GitHub Desktop.
Merge PDFs with Ghostscript
This file contains hidden or 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
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=finished.pdf file1.pdf file2.pdf | |
# found at https://bbs.archlinux.org/viewtopic.php?id=65036 | |
# some automation (merge all in current directory): | |
find . -type f -print0 | xargs -0 gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile="/path/finished.pdf" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment