Skip to content

Instantly share code, notes, and snippets.

@cmilfont
Created April 8, 2016 18:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmilfont/f175e21155ed860fa5ad9db225fe5021 to your computer and use it in GitHub Desktop.
Save cmilfont/f175e21155ed860fa5ad9db225fe5021 to your computer and use it in GitHub Desktop.
A quick way to to merge PDFs into one using

NOTE: GhostScript must be intalled

Mac Install instructions

brew install gs

Then run ghostscript listing all files to merge.

gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=merged.pdf \
source1.pdf source2.pdf source3.pdf etc.pdf

Credit from here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment