Ubuntu: How to merge several PDF files?
Channel: Roel Van de Paar
Date: 2019-06-07

Ubuntu: How to merge several PDF files?


Question: There are a lot of software in Windows to merge PDF files but how can we do the
same in Ubuntu?

Solutions Sample (Please watch the whole video to see all solutions, in order of how many people found them helpful):

== This solution helped 11 people ==
Give PDFMod a try, it’s from the GNOME project:
https://wiki.gnome.org/Apps/PdfMod

== This solution helped 135 people ==
Ghostscript is a package (available by default in Ubuntu) that enables you to
view or print PostScript and PDF files to other formats, or to convert those
files to other formats.
To use Ghostscript to combine PDF files, type something like the following:
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dAutoRotatePages=/None -
sOutputFile=finished.pdf file1.pdf file2.pdf
Here is a brief explanation of the command:
gs starts the Ghostscript program.
-dBATCH once Ghostscript processes the PDF files, it should exit.
If you don't include this option, Ghostscript will just keep running.
-dNOPAUSE forces Ghostscript to process each page without pausing for user
interaction.
-q stops Ghostscript from displaying messages while it works
-sDEVICE=pdfwrite
tells Ghostscript to use its built-in PDF writer to process the files.
-sOutputFile=finished.pdf
tells Ghostscript to save the combined PDF file with the specified name.
-dAutoRotatePages=/None
Acrobat Distiller parameter AutoRotatePages controls the automatic orientation
selection algorithm: For instance: -dAutoRotatePages=/None or /All or /
PageByPage.
Your input files don't even need to be PDF files. You can also use PostScript
or EPS files, or any mixture of the three.
There is a lot you can do with Ghostscript. You can read its https://
www.ghostscript.com/doc/current for more details.
http://www.linux.com/news/software/applications/8229-putting-together-pdf-files

== This solution helped 191 people ==
https://apps.ubuntu.com/cat/applications/pdfshuffler [Install_PDF-Shuffler]
If you want a tool with a simple GUI, try pdfshuffler. It allows for merging of
PDFs as well as rearranging and deleting pages. For batch processing and/or
more complicated tasks, pdftk is of course more powerful.
[Screenshot of PDF-Shuffler]

With thanks & praise to God! With thanks to all the many who have made this project possible! | Content (except music & images) licensed under cc by-sa 3.0 | Music & music license: https://www.bensound.com/royalty-free-music | Images & images license: https://stocksnap.io/license and others | With thanks to user xerostomus (https://askubuntu.com/users/263741), user Vincenzo (https://askubuntu.com/users/5011), user SebMa (https://askubuntu.com/users/426176), user R.Sathish Kumar (https://askubuntu.com/users/164113), user Rojan (https://askubuntu.com/users/1360), user miguelmorales85 (https://askubuntu.com/users/276539), user max (https://askubuntu.com/users/277081), user Marcel Stimberg (https://askubuntu.com/users/275), user joschi (https://askubuntu.com/users/923), user ignite (https://askubuntu.com/users/58990), user frabjous (https://askubuntu.com/users/1689), user fitojb (https://askubuntu.com/users/15113), user emre (https://askubuntu.com/users/483018), user Detnuomnu (https://askubuntu.com/users/2313), user Deependra Solanky (https://askubuntu.com/users/1585), user BЈовић (https://askubuntu.com/users/6228), and the Stack Exchange Network (http://stackoverflow.com/questions/2799). Trademarks are property of their respective owners. Disclaimer: All information is provided "AS IS" without warranty of any kind. You are responsible for your own actions. Please contact me if anything should be amiss at Roel D.OT VandePaar A.T gmail.com.