Merge multiple pdf files into one sorted by filename
To use this python file, you need to install PyPDF2 first.
pip install PyPDF2
apt-get install python3-pypdf2
Put the python file under the location of your pdfs and run it.
Depends on where did you install the PyPDF2 the python version needs to be modified.
For my case, it is python3.9 mergePDF.py
.
Then you will get a merged pdf on your current location.