How to easily merge PDF files with linux

There is an easy way to merge two or more PDF files. You can use the free software called Pdftk. You can get it via the package system of your preferred linux distribution or the homepage of the project.

Here is an example for merging threepdf files

pdftk 1.pdf 2.pdf 3.pdf cat output 123.pdf

You can find more examples on the projects website.

About these ads

Tags: , , , , ,

4 Responses to “How to easily merge PDF files with linux”

  1. Jason Wong (@jkwong111) Says:

    Aren’t you merging 3 pdf files there?

  2. stefon Says:

    You are right, I’ll fix this in the posting

  3. Max Says:

    if you prefer python and much smaller software (compiling pdftk from source is ….) use stapler: https://github.com/hellerbarde/stapler

    • stefon Says:

      thx for the information. thing is: pdftk is included in the debian repository and so i dont have to compile it from source. on the other hand stapler is not in the repos, so it is much more work for me to get it installed locally..

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.

%d bloggers like this: