It is a simple CLI app that merges PDF files in given directory
- Python 3.10
- PyPDF2 1.26.0
pip install pdfmerge2
- Clone repository
- Install requirements
or
pip install -r requirements.txt
poetry install
- Pass only path to merge ALL pdf files in there
pdfmerge2 /path/to/pdf/files
- Pass path and file names to merge only them
pdfmerge2 /path/to/pdf/files -f file1 file2
- You can also pass output path
pdfmerge2 /path/to/pdf/files -f file1 file2 -o /path/to/output
Created by @Gasper3 - feel free to contact me!