PDFMerge CLI
A simple CLI tool for quickly merging PDF files.
Installation
npm i -g pdfmerge-cli
Usage
-
Open Command Prompt and go to the directory containing the PDF files to be merged.
-
Type
pdfmerge
and hit Enter. -
The interface will ask you the number of files to be merged. Type the number and press Enter. Note: You can skip this step by just pressing Enter. The default number of files to be merged will be taken as 2.
-
Now select the files by navigating with the help of Up and Down arrow keys and press Enter to select the particular file from the list.
-
After all files have been selected, the interface will ask the name for destination (merged) file. Type the name of your choice and press Enter. Note: You can skip this step by just pressing Enter. The default destination file name will be taken as merged.pdf.
-
You have your merged PDF ready in the current directory !!!
Options
Option | Description |
---|---|
-a, --all | Merge all PDF files in the current directory |
-h, --help | View usage information |
-V, --version | View version number |
Demo
Credits
PDFMerge CLI uses easy-pdf-merge for merging the files.