PDFSplitter Python script to split a PDF file (1st argument) into separate files based on bookmarks, which are then saved in a folder (2nd argument). python pdfsplitter.py my_file_with_bookmarks.pdf output_folder/