A tool to merge your PDF files in the order you want.
Use the package manager pip to install package pypdf.
pip install pypdf
- Clone or download this repository
- Move to the repo's directory.
cd /path/to/directory/
- Place the PDF files you want to merge to folder
pdf_original
- Run
merger.py
python merger.py
- Enter merging order, separating numbers with ","
Here's an exmaple, after running merger.py
, the following message appears,
Find PDF files:
1. Wei Chuan Dragons.pdf
2. CTBC Brothers.pdf
3. Rakuten Monkeys.pdf
Enter the Merging Order (ex: 1, 3, 2, ...):
If you want to merge in the order Wei Chuan Dragons.pdf
, Rakuten Monkeys.pdf
, CTBC Brothers.pdf
, just enter
1, 3, 2
- You can find the merged PDF file in the folder
pdf_merged
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.