Social Icons

Tuesday, June 08, 2021

MERGING PDF: UBUNTU 20.04 LTS

This small post shares a one line command in Ubuntu terminal to merge to PDFs. While for the regulars,merging the same online would seem to be the quickest and the best but there are times when you wish your PDFs are not compromised by third party websites offering these mergers for free...so why not use a one line command with the help of a tool pdftk.

The command to install the same is 

sudo apt-get install pdftk

and the command thereafter to merger the PDFs like three files 1.pdf, 2.pdf and 3.pdf is as seen below:

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

where 4.pdf is the merged final output file.

That's all...no third party website reliance for private files.

Powered By Blogger