A python script for concatenating PDFs. Can be used for e-books, lecture slides etc.
Put all your PDF files in one directory.
Then simply run python3 pdf_merger.py
.
You can specify the path to a directory using -p
. If you don't, the current directory is used.
Use -t
to sort by time.
Use -desc
for descending order.
The output will be given as result.pdf in the same directory as pdf_merger.py.