Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

mergeit

A fast, local PDF merging utility written in C++. An offline alternative to web services like ilovepdf .This is Less bloated and is accessible from the terminal

Dependencies

Install the QPDF development library for your operating system.

macOS

brew install qpdf 

Arch Linux

sudo pacman -S qpdf

Debian / Ubuntu

sudo apt update && sudo apt install libqpdf-dev pkg-config

Compilation and Execution

The repository consists of the following structure:

Merge-it/
├── contents/
│   ├── file1.pdf
│   └── file2.pdf
└── src/
    └── MergeingEngine.cpp
    └── Makefile
    

Navigate to the main project root directory (Merge-it/) in your terminal before running the compilation commands.

cd src
sudo make install
#enter the password

Usage

Since mergeit is installed globally into your system's PATH, you can run it from any directory in your terminal.

To merge multiple PDFs, pass the input files sequentially and specify your desired output filename as the final argument:

mergeit "file1.pdf" "file2.pdf" "file3.pdf" "file-n.pdf" #file-n is the nth file
enclose the file name in double quotes if the filename has whitespace .

TO-DO

  • Provide a Makefile for automated builds
  • Handle file naming conflicts automatically
  • Support merging more than two PDFs sequentially

You have reached the end ThankYou :)

About

Imagine using ilovepdf to merge multiple pdf files

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages