Now double click on this newly created PDF file to ensure if it has the merged contents of “PDF1.pdf” and “PDF2.pdf” or not as shown in the images below: Here, you will be able to find “PDF3.pdf” as highlighted in the following image: It means that running this command will create a new PDF file named “PDF3.pdf” which will have the merged contents of both the files “PDF1.pdf” and “PDF2.pdf”.Īfter running this command, you can verify if a merged PDF file has been created or not by going to your Home directory. The file name followed by the “output” keyword will be the name of a newly created PDF file, which will be an integrated version of all the files that are mentioned before the “cat” keyword. Here, you can mention as many PDF files before the “cat” keyword that you want to merge separated by a space. $ pdftk PDF1.pdf PDF2.pdf cat output PDF3.pdf Now we have to install the “pdftk” utility by running the following command in our terminal: Our goal is to merge these two files for which we will launch our Linux Mint 20 terminal by clicking on its icon as shown in the following image: Now double click on the second file to view its content as well as shown in the image below: These files are highlighted in the image shown below:ĭouble click on the first file to view its content, as shown in the following image: We have two PDF files in our Home directory named “PDF1.pdf” and “PDF2.pdf”. Methods of Merging the PDF Files on the Command Line:įor using the “pdftk” utility for merging PDF files via the command line in Linux Mint 20, we will go through the following series of steps: Note: All three methods of merging PDF files via the command line have been demonstrated on Linux Mint 20. Therefore, today we will be explaining to you the different methods of merging PDF files on the command line. At times, you might have multiple inter-related PDF files, and you wish to integrate them all as a single PDF file. This file format is not only used for personal documents but also for professional documents. PDF is the most frequently used file format all over the world.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |