To use other features of PDFtk like remove and delete pages from PDF, check out its official manual.īased on your experience and situation, you can decide whether you want to use a command line or graphical tool to merge multiple PDF files into one PDF. $ pdftk secured-1.pdf input_pw xyz output unsecured.pdf $ pdftk unsecured-1.pdf output secured-1.pdf owner_pw xyz PDFtk also allows encrypting and decrypting a PDF using the “owner_pw” and “input_pw” options. If you have got a large number of PDFs to combine, you can also use an asterisk (*) wildcards as *.pdf. $ pdftk pdf1.pdf pdf2 cat output out1.pdf To join multiple PDFs, you need to give its name in the terminal along with the name of the single combined PDF. ![]() Use PDFtk to Combine PDFs in Command Line If you cannot find a binary file for your Linux distro, you can also compile and build PDFtk Server from its source code. Then, you can download Binary RPM for Red Hat or CentOS – available for both 32-bit and 64-bit architecture. The easiest way to install PDFtk on Debian and Ubuntu-based Linux distributions is by running a single command: $ sudo apt install pdftk-javaįor CentOS, Fedora, and Red Hat, you first need to install libgcj dependency. Attach files to PDF pages and unpack PDF attachments.Add a background watermark or a foreground stamp.Fill PDF Forms with X/FDF data and/or Flatten Forms.Merge PDF documents or collate PDF page scans.Like any other graphical PDF merger app, you can use PDFtk Server to perform the following functions: PDFtk Pro: paid version with both CLI and GUI appīeing terminal-based does not mean that PDFtk Server lacks features.Similar to GUI apps, there are also several command-line tools available such as PDFtk, pdfconcat, Ghostscript, and pdfunite.įor this article I’ll use PDFtk, which comes in three variant: Merge Multiple PDF Files in Linux Command LineĬoming to the command line method of combining multiple PDF files, it can be helpful for system administrators who work on the server without a Linux desktop. Merge PDF FilesĪfter doing the modification, click on the second or third icon at the top left corner to merge all pages in a single PDF file. Here before you combine all pages, you can perform certain actions such as rearrange, delete, export, and edit metadata. Now you can see a list of all pages from the selected PDFs. It will pop up a dialog box, where you can select all PDFs you want to merge. Once you install it successfully, open the app and click on the icon at the top left corner. If none of the installation methods works, you can install it from the source code. However, if you don’t have Flatpak, binary packages of PDF Arranger are also available for several Linux distributions. ![]() If you’ve already set up universal package manager Flatpak, you can install PDF Arranger using Flatpak by running a single command: $ flatpak install flathub ![]() Though you’re free to use any of the tools, I’ll use the PDF Arranger app that offers the following important features:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |