Last active
November 17, 2021 07:49
-
-
Save m-Just/0b80b68daa922e00addd81e540817ef3 to your computer and use it in GitHub Desktop.
Split PDF while preserving link redirection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install qpdf # on mac | |
qpdf [pdf_file] --pages . [start_page]-[end_page] -- [new_pdf_file] | |
# example: | |
# qpdf paper_with_appendix.pdf --pages . 1-11 -- paper.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment