{"id":1280,"date":"2024-03-24T10:08:11","date_gmt":"2024-03-24T10:08:11","guid":{"rendered":"https:\/\/labiol.xyz\/?p=1280"},"modified":"2024-03-24T10:08:11","modified_gmt":"2024-03-24T10:08:11","slug":"combine-many-pdf-files-into-one","status":"publish","type":"post","link":"https:\/\/www.labiol.xyz\/index.php\/2024\/03\/24\/combine-many-pdf-files-into-one\/","title":{"rendered":"Combine many pdf files into one."},"content":{"rendered":"\n<p>This article is going to be a quick one, just showcasing a command I don&#8217;t use very frequently but always find annoying to locate when needed.<\/p>\n\n\n\n<p><code>gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=merged.pdf *.pdf<\/code><\/p>\n\n\n\n<p>&#8216;gs&#8217; is a app that can be found using Homebrew (on macOS) or with most Linux distributions. Sometimes on Linux distributions, you may need to search for &#8216;ghostscript&#8217;. While it might seem like overkill for the task at hand, it&#8217;s actually a powerful tool capable of various document manipulations. You might find it useful in the future, or it might already be installed on your system due to its versatility.<\/p>\n\n\n\n<p>As I said, this is a quick one. Have a lovely day!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article is going to be a quick one, just showcasing a command I don&#8217;t use very frequently but always find annoying to locate when needed. gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=merged.pdf *.pdf &#8216;gs&#8217; is a app that can be found using Homebrew (on macOS) or with most Linux distributions. &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1280","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/1280","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/comments?post=1280"}],"version-history":[{"count":1,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/1280\/revisions"}],"predecessor-version":[{"id":1281,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/1280\/revisions\/1281"}],"wp:attachment":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=1280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/categories?post=1280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/tags?post=1280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}