Skip to content

fischerlol/PDF-Merge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF Merge Tool

A simple and efficient tool to merge multiple PDF files. Whether you have PDFs in different directories or all in the current directory, this tool is your one-stop solution for merging them into a single file.

Features

  • Merge PDFs from a specified directory.
  • Merge specific PDF files using their paths.
  • Merge all PDFs from the current directory.
  • Specify the name of the output file.

Prerequisites

Before you get started, make sure you have the following installed:

  • Python 3.8+

Installation

  1. Clone the repository to your local machine:
git clone https://github.com/fischerlol/PDF-Merge.git
  1. Navigate to the project directory:
cd pdf-merge-tool
  1. Install the required packages:
pip install -r requirements.txt
  1. Add the tool to your system's PATH. For Windows users:
    • Open System Properties -> Advanced -> Environment Variables.
    • In the System Variables section, find the PATH variable, select it, and click Edit.
    • In the Edit Environment Variable window, click New and add the path to the pdf-merge-tool directory.
    • Click OK to save the changes.

Usage

Once installed, you can use the tool directly from your command prompt:

  • Merge PDFs from a specified directory:
pdf-merge -d path-to-directory
  • Merge specific PDF files:
pdf-merge -f path-to-pdf1 -f path-to-pdf2 ...
  • Merge all PDFs from the current directory:
pdf-merge -c
  • Specify the name of the output file (default is merged.pdf):
pdf-merge -d path-to-directory -o output-filename.pdf

Contributing

Pull requests are welcome! If you encounter any issues or have suggestions for improvements, please open an issue first to discuss what you'd like to change.

License

MIT

About

pdf-merge: A simple command-line utility to effortlessly merge PDF files. Built with Python using the Click and PyPDF2 libraries."

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages