{"id":45,"date":"2012-10-24T19:15:27","date_gmt":"2012-10-24T17:15:27","guid":{"rendered":"http:\/\/blog.matthias.roehser.de\/?p=45"},"modified":"2014-07-05T15:51:27","modified_gmt":"2014-07-05T13:51:27","slug":"using-the-pdftoolkit-to-merge-multiple-pdfs-into-a-single-file","status":"publish","type":"post","link":"https:\/\/blog.matthias.roehser.de\/?p=45","title":{"rendered":"Merge multiple pdfs into a single file"},"content":{"rendered":"<p>Ubuntu brings a nice package called &#8220;pdftk&#8221; for editing pdfs using the command line. This command joins multiple pdfs into a single pdf:<\/p>\n<p>pdftk 1.pdf 2.pdf 3.pdf cat output 123.pdf<\/p>\n<p>Here is another way to join pdf files, that only requires ghostscript:<\/p>\n<p>gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=123.pdf 1.pdf 2.pdf 3.pdf<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu brings a nice package called &#8220;pdftk&#8221; for editing pdfs using the command line. This command joins multiple pdfs into a single pdf: pdftk 1.pdf 2.pdf 3.pdf cat output 123.pdf Here is another way to join pdf files, that only requires ghostscript: gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=123.pdf 1.pdf 2.pdf 3.pdf<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-45","post","type-post","status-publish","format-standard","hentry","category-useful-tools"],"_links":{"self":[{"href":"https:\/\/blog.matthias.roehser.de\/index.php?rest_route=\/wp\/v2\/posts\/45","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.matthias.roehser.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.matthias.roehser.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.matthias.roehser.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.matthias.roehser.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=45"}],"version-history":[{"count":5,"href":"https:\/\/blog.matthias.roehser.de\/index.php?rest_route=\/wp\/v2\/posts\/45\/revisions"}],"predecessor-version":[{"id":93,"href":"https:\/\/blog.matthias.roehser.de\/index.php?rest_route=\/wp\/v2\/posts\/45\/revisions\/93"}],"wp:attachment":[{"href":"https:\/\/blog.matthias.roehser.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=45"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.matthias.roehser.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=45"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.matthias.roehser.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=45"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}