PDF Merger for CLI

Merge documents. Use Aspose.PDF for Aspose.PDF CLI to modify PDF files programmatically

How to merge PDF files using Aspose.PDF for Aspose.PDF CLI

To merge PDF files, we’ll use Aspose.PDF CLI API. The tool is powered by the Aspose.PDF for C++ library and is available for different operating systems including macOS, Linux, and Windows. You can download its versions directly from Aspose.PDF CLI App. Working with command lines is simple and clear. Just use the command line to execute specific commands related to PDF processing. Choose from a range of available functionalities (e.g., text extraction, encryption, adding watermarks, etc) to perform on the PDF.

How to merge PDF files using Aspose.PDF for Aspose.PDF CLI

Merge PDF files via CLI

You need Aspose.PDF CLI to try the code in your environment.

  1. Run application with particular command.
  2. Use command merge.
  3. Pass the first file.
  4. Pass the second file

How to merge PDF files using Aspose.PDF for Aspose.PDF CLI

CLI - example code to merge PDF files

> asposepdftool merge PDF-sourcefile-1 .. PDF-sourcefile-n PDF-destinationfile