summaryrefslogblamecommitdiffstats
path: root/content/posts/concatenating-pdf-files.md
blob: c5b11e23b35642e8f066510c402fa5b043fbfb65 (plain) (tree)
1
2
3
4


                                         
                                                  















                                                                                                                                                               
---
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
```