Merge multiple pdf files in linux

Source: Internet
Author: User
In linux, Merge multiple pdf files-general Linux technology-Linux technology and application information. The following is a detailed description. PDF electronic documents downloaded from the Internet sometimes include multiple parts. Although this is conducive to transmission, it is inconvenient to read. If we merge them together, we will not only solve the problem, but also facilitate the saving of documents.

It is very easy to merge multiple independent PDF documents in Linux. To complete subsequent operations, install the Ghostscript and PDFtk software in the system in advance:

Sudo apt-get install gs pdftk

Open the terminal and paste the following command:

Gs-dNOPAUSE-sDEVICE = writable write -soutputfile=firstandsecond?- dBATCH first=second=

It should be noted that this example combines the first.pdf and second.pdf PDF files into the firstANDsecond.pdf file. Please change these names according to your actual situation. In addition to merging two files, you can also merge three or more files.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.