Skip to content

Instantly share code, notes, and snippets.

@enricocaputo
Forked from alexarje/pdf-split.sh
Created December 31, 2018 14:58
Show Gist options
  • Select an option

  • Save enricocaputo/36ae56ef6dd4af7eb936f42eee7ffecc to your computer and use it in GitHub Desktop.

Select an option

Save enricocaputo/36ae56ef6dd4af7eb936f42eee7ffecc 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment