blog.minskio.co.uk

Content and theme behind minskio.co.uk
Log | Files | Refs

concatenating-pdf-files.md (718B)


      1 ---
      2 title: "Concatenating PDF files on Linux"
      3 date: 2018-11-26 13:29:00
      4 tags: ["Snippets", "Software", "Formats", "Linux"]
      5 ---
      6 
      7 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.
      8 
      9 Some quick searching around lead me to `pdfunite` which did the job perfectly.
     10 
     11 Simple issue the following command to merge 3 files into one final output file:
     12 ```
     13 pdfunite page-1.pdf page-2.pdf page-3.pdf pages-out.pdf
     14 ```
     15 Be careful when specifying your files here as the last file will be overwritten if it already exists.
     16 
     17 If you don't have `pdfunite` installed, it's available via:
     18 ```
     19 sudo apt-get install poppler-utils
     20 ```