Comment on Merge (convert) multiple PDF files into one single PDF – Generate one pdf from many on Linux / Windows and Mac by admin.
Its also possible to merge PDF files by using simply Ghostscript (useful for older Linux releases and UNIX – Sun OS / Solaris / HP-UX etc.)
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=merged-file.pdf file1-to-merge.pdf file2-to-merge.pdf file3-to-merge.pdf
admin Also Commented
If you need to reduce generated PDF file size with GS the common way is with:
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
There are also other tools to be used to merge multiple PDFs under Linux.
There is pdfunite (part of poppler) Linux package and pdfjam part of pdfpages (on debian there is separate pdfjam package).
Here are some comparison between the (pdfunite, pdfjam and pdftk) in speed, created file-size, support of PDF hyperlinks etc.:
Comparison
pdfunite | pdfjam | pdftk | |
Configuration | No configuration options. | Lots of options. See pdfjam --help. | Lots of options. See pdftk --help. |
Speed | 0.200s | 1.297s | 0.293s |
File Size | 718 KiB | 743 KiB | 774 KiB |
Hyperlinks | Internal hyperlinks broken | Gone | OK |
Page Format | Original format is preserved. | All pages are converted to the same format. | Original format is preserved. |
Recent Comments by admin
От архива: Христовата любов побеждава дори смъртта, твърдеше приживе патриарх Неофит
Българският Патриарх Неофит в Москва на 8 Март 2016 г. ЧАСТ 2
Christ is Risen Eastern Orthodox Resurrection Paschal Greeting in Different Languages
Hi Stan,
I guess you cannot read the writtings on the icon as it is in cyrillic.
This is not Saint Mary and Saint Peter but Adam and Eve written in cyrillic on top of the icon.
Actually in orthodoxy it is a requirement for the depicted personalities, especially saints to have
written on the names of the saint and have the Halo. If you look closely at the picture you will notice
the two Adam and Eve are missing a Halo. The only person with a Halo in the icon is Saint John the Baptist.
Best Regards
Georgi
Install and configure rkhunter for improved security on a PCI DSS Linux / BSD servers with no access to Internet
–rwo, –report-warnings-only
This option causes only warning messages to be displayed. This can be useful when rkhunter is run via cron. Other options may
be used to force other items of information to be displayed.
–sk, –skip-keypress
When the –check command option is used, after certain sections of tests, the user will be prompted to press the return key
in order to continue. This option disables that feature, and rkhunter will run until all the tests have completed.
Install and configure rkhunter for improved security on a PCI DSS Linux / BSD servers with no access to Internet
As rkhunter check, can be pretty annoying and ask you to press keypresses multiple times and spit you a lot of unnecessery data a very good useful option arguments are:
–rwo and –sk
# rkhunter -c –rwo –sk
Warning: The SSH and rkhunter configuration options should be the same:
SSH configuration option 'PermitRootLogin': yes
Rkhunter configuration option 'ALLOW_SSH_ROOT_USER': no