Created
June 16, 2015 00:24
-
-
Save jagtesh/11ed0e2805c4ddb507a3 to your computer and use it in GitHub Desktop.
High quality pdf merge 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
#!/bin/bash | |
OUT=$1 | |
shift | |
# Usage: ./mergepdf OUTPUT file1 file2 file3 ... | |
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=$OUT $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment