Last active
December 31, 2018 14:58
-
-
Save alexarje/d43bafba5071fdf15ef08c66681d4799 to your computer and use it in GitHub Desktop.
Small shell script (for Ubuntu) that splits up one multi-page PDF to individual PDF files
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
#!/bin/sh | |
cd $NAUTILUS_SCRIPT_CURRENT_URI | |
pdftk $@ burst output $@-%d.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated with the "output" function, so that it keeps the original file name when making the individual files.