Last active
January 14, 2021 12:47
-
-
Save daerich/768389758d97ec7ca706abe3de489b2d to your computer and use it in GitHub Desktop.
Useful pdf concat using ghostscript
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 | |
#from https://stackoverflow.com/questions/48136770/merge-pdf-files-by-string-in-filename-using-ubuntu-terminal | |
#append '-q' switch to silence gs | |
gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=out.pdf input*.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment