How to merge PDF files into one PDF file with command line

It is simple to merge PDF files into one PDF file with command line through following application on Windows platforms.

VeryPDF PDF Toolbox Command Line, which is a professional tool for command line users to edit PDF files in multiple aspects, e.g., merging PDF files into one PDF file, splitting PDF files into single page PDF files, flattening PDF file into static PDF file, etc.. And only several steps can help you achieve your specific conversion one by one or in batches than you expect, no matter users are beginners or developers. Thus, to know more details about this theme – merging PDF files into one PDF file, the following paragraphs show more info:

1. Download

To have this tool in your computer, firstly, download package of VeryPDF PDF Toolbox Command Line, and then, extract contained folders into your computer so that executive file “pdftoolbox.exe” can be extracted, as well as other folder, where “readme.exe” can be your free guide of what this CMD tool can do.

2. Run command prompt window

In this step, you need to know command prompt is operating environment of commands for Windows platforms, so, it is elementary to run cmd.exe to open it for later process.

3. Start merging PDF files into one PDF file

After command prompt is opened on screen, the followings can be referred to by you in turn for your own merging:

Usage

pdftoolbox.exe <input file> [options] <-outfile output>

where [options] could be parameters which are used to edit targeting PDF properties

Useful parameters for merging PDF into one PDF

-merge: merge multiple PDF files into one PDF file.

Note: you can handle arguments to specify page ranges, rotate pages, change order when merging PDF with the following
odd: the odd-numbered PDF pages, e.g., Aodd is to take odd
pages in file A.
even: the even-numbered PDF pages.
end: the last page of a file, e.g., A1-end is the same as A.
E: rotate 90 degrees, e.g., A4-9E is to rotate the pages 4-9
of file A by 90 degrees.
S: rotate 180 degrees.
W: rotate 270 degrees.
N: rotate 0 degree.
L: rotate counterclockwise.
R: rotate clockwise.

Examples

D:\pdftoolbox_cmd_win\bin\pdftoolbox.exe A=D:\pdftoolbox_cmd_win\bin\a.pdf B=D:\pdftoolbox_cmd_win\bin\b.pdf -merge Aodd Beven -outfile D:\pdftoolbox_cmd_win\bin\cde.pdf

To use wildcards for merging all pages of added PDF files in one folder into one PDF file, please refer to the following examples:

D:\pdftoolbox_cmd_win\bin\pdftoolbox.exe D:\pdftoolbox_cmd_win\bin\*.pdf –merge -outfile D:\pdftoolbox_cmd_win\bin\merge.pdf

Here is snapshot about merged PDF file from odd and even pages of 2 added PDF files separately:

Merged PDF from odd and even pages with VeryPDF PDF Toolbox Command Line

For more applications based on merging PDF files into one PDF file, please use trial version utility to accomplish your conversion by yourself. In the end, please do not hesitate to use full version of VeryPDF PDF Toolbox Command Line for merging PDF files into one PDF file in various supported ways through command line.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

This entry was posted in PDF Toolbox Command Line and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!