Skip to content

Instantly share code, notes, and snippets.

@alexarje
Last active December 31, 2018 14:58
Show Gist options
  • Save alexarje/d43bafba5071fdf15ef08c66681d4799 to your computer and use it in GitHub Desktop.
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
#!/bin/sh
cd $NAUTILUS_SCRIPT_CURRENT_URI
pdftk $@ burst output $@-%d.pdf
@alexarje
Copy link
Author

Updated with the "output" function, so that it keeps the original file name when making the individual files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment