Simple Python3 Program to delete pages from a PDF file.
Use https://www.sejda.com/delete-pdf-pages to generate the input string for deletion.
- Dowload the script.
- sudo pip3 install PyPDF2
./pyDeletePdfPages.py filename.pdf 1,3,10
The output will be written to deleted_filename.pdf
Have a lot of fun!