nevereverever.de/public_ansi/random-linux-utils
2026-02-05 01:42:49 +01:00

886 B
Raw Blame History

MERGE PDFS
 
Using Ghostscript
 
Ghostscript has a feature to merge multiple pdf files into one. Although
ImageMagick also has this feature, I prefer this one, as it doesnt
rasterize and scales down the pdf files.
 
gs -dNOPAUSE -sDEVICE=pdfwrite \
-sOUTPUTFILE=output.pdf \
-dBATCH 1.pdf 2.pdf