Showing posts with label Pdf. Show all posts
Showing posts with label Pdf. Show all posts

Thursday, July 14, 2011

Join and split pdf files under linux with pdftk

Install pdftk
apt-get install pdftk

then to merge, example command is:
pdftk test1.pdf test2.pdf cat output test_output.pdf

to split(from page 1 to 5)
pdftk test_output.pdf cat 1-5 output test_output2.pdf


official site link: www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
official site quick examples link: www.pdflabs.com/docs/pdftk-cli-examples/


Bye...