Skip to content

Combine PDFs from the Linux command line

1 min read

Here's a useful little trick for merging PDF files at the Linux command line using Ghostscript:-

gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=combinedpdf.pdf -dBATCH file1.pdf file2.pdf
© 2024 Andy Carter