Skip to content

Instantly share code, notes, and snippets.

@arkadiusjonczek
Created January 21, 2020 14:48
Show Gist options
  • Save arkadiusjonczek/04a00280233529c393dc1135b77c36c8 to your computer and use it in GitHub Desktop.
Save arkadiusjonczek/04a00280233529c393dc1135b77c36c8 to your computer and use it in GitHub Desktop.
Combine pdf files using ghostscript #tags: bash
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/default -dNOPAUSE -dQUIET -dBATCH -dDetectDuplicateImages -dCompressFonts=true -r150 -sOutputFile=output.pdf input1.pdf input2.pdf input3.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment