Page 1 of 1

Merging pdf files

Posted: 25 Aug 2020, 11:57
by viking60
Often I Scan several documents and need them to be merged to one document so I do not have to send 10 attachments.

I tried to install pdfdsam - which should be an easy to use GUI - but it did not fire and complained about the wrong Java version or something along those lines.

So I decided to go back to the good old CLI and installed poppler:

In Arch/Manjaro

Code: Select all

sudo pacman -S poppler


On Debian, Ubuntu, Linux Mint:

Code: Select all

sudo apt-get install poppler-utils


On RHEL, CentOS:

Code: Select all

sudo yum install poppler-utils

(replace yum with dnf in Fedora)

Fast and easy and nothing to it :tux5:

Time to merge my documents to one pdf then:

Go to the directory were your documents are (where your scanner has stored them) :
cd scannerdocs( or whatever)
and type

Code: Select all

pdfunite doc doc0002 doc0003 doc0004 output pdf


My scanner does not give the pdf extension so I simply type doc and doc0002 etc not doc.pdf or doc0002pdf and so on.
I have named the output file; output.pdf (here I type pdf).

The document is created so fast that I wondered if everything went like it should so I had a look in the scannerdocs directory and opened output pdf and it was all there nicely merged :jackpot

This thing is so fast and hassle free that it is wort a tip +1

Re: Merging pdf files

Posted: 03 Oct 2020, 02:46
by dedanna1029
I've heard that poppler is good stuff!