snipt

Ctrl+h for KB shortcuts

Bash

merge multiple PDFs

gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=merged.pdf source1.pdf source2.pdf source3.pdf etc.pdf
https://snipt.net/embed/74c2593c390f1b3d9789a70b118208d8/
/raw/74c2593c390f1b3d9789a70b118208d8/
74c2593c390f1b3d9789a70b118208d8
bash
Bash
1
2019-06-17T05:30:32
True
False
False
/api/public/snipt/37531/
merge-multiple-pdfs
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>gs -q -dNOPAUSE -dBATCH -sDEVICE<span class="o">=</span>pdfwrite -sOutputFile<span class="o">=</span>merged.pdf source1.pdf source2.pdf source3.pdf etc.pdf </span></pre></div> </td></tr></table>
pdf