merge pdf files in linux

How to replace a single page in a PDF file using another PDF file in Linux

By using the PDF Toolkit PDFtk library you can do this simple pdf editing task and many more. For all of you creating software related to PDF documents you should really spend some time reading about PDFtk server.

Installation:

Usage:

In this example we have two pdf files with 10 pages each. The command below will keep the pages 1-9, add the first page of the second document and end the output file.

In case we need to add a page in between of other pages of the first document to our output document, for example to keep the first 1-5, add the 1 page of the second document, keep 6-10 of the first document and end the output document, we can use the command below.

Series Navigation<< How to merge multiple PDF files in Linux

Comment:

This site uses Akismet to reduce spam. Learn how your comment data is processed.