concatenate pdfs with ghostscript

Mar 19, 2024

brew install gs to get it if you don't have it already, then:

gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=combined.pdf one.pdf two.pdf three.pdf [...]

I got the command from stack overflow

↑ up