π Overview
This Python script automatically merges multiple PDFs in a directory into a single file using PyPDF2. It simplifies the process of combining PDFs and ensures they are merged in a sorted order.
π Features
β Scans the current directory for PDF files
β Sorts files before merging to maintain order
β Handles errors if any file is corrupted
β Saves the merged file as merged-pdf.pdf
π οΈ Requirements
Make sure you have Python installed, then install PyPDF2
π Usage
1.Place all the PDF files you want to merge in the same directory as the script.
2.Run the script
3.The merged PDF will be saved as merged-pdf.pdf in the same folder.
π Contributing
Feel free to fork this repository, improve the script, and submit a pull request! π