summaryrefslogtreecommitdiffstats
path: root/content/posts/concatenating-pdf-files.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/posts/concatenating-pdf-files.md')
-rw-r--r--content/posts/concatenating-pdf-files.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/content/posts/concatenating-pdf-files.md b/content/posts/concatenating-pdf-files.md
new file mode 100644
index 0000000..ac2c3ba
--- /dev/null
+++ b/content/posts/concatenating-pdf-files.md
@@ -0,0 +1,20 @@
+---
+title: "Concatenating PDF files on Linux"
+date: 2018-11-26 13:29:00
+tags: ["snippets", "software", "formats", "linux"]
+---
+
+A simple request, with an equally simple solution. Firstly I tried using my old favourite `pandoc` which will apparently only output PDF files, not input them.
+
+Some quick searching around lead me to `pdfunite` which did the job perfectly.
+
+Simple issue the following command to merge 3 files into one final output file:
+```
+pdfunite page-1.pdf page-2.pdf page-3.pdf pages-out.pdf
+```
+Be careful when specifying your files here as the last file will be overwritten if it already exists.
+
+If you don't have `pdfunite` installed, it's available via:
+```
+sudo apt-get install poppler-utils
+``` \ No newline at end of file