Created
November 22, 2010 22:50
-
-
Save gauteh/710873 to your computer and use it in GitHub Desktop.
Use ghostscript to combine pdfs, first arg is output - rest is appended onto each other.
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/bash | |
# 2010-11-15 | |
# Combines pdf's | |
# http://polybori.blogspot.com/2010/10/combining-pdfs.html | |
out=$1 | |
shift | |
echo "Creating pdf: ${out} of: $@" | |
gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=${out} $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment