Ghostscript oneliners
CREATED: [2022-02-22 Tue 13:52] ID: e440dff6-9a85-434b-8137-6f6f500424ce ROAM_REFS: https://gist.github.com/brenopolanski/2ae13095ed7e865b60f5 MTIME: [2025-02-02 Sun 22:16],[2024-12-25 Wed 16:07] REVIEW_SCORE: 2.0
1. merge multiple PDFS using ghostscript
A simple Ghostscript command to merge two PDFs in a single file is shown below:
gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=combine.pdf -dBATCH 1.pdf 2.pdf