commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Simple alternative to the previous submitted one
There is 1 alternative - vote for the best!
Have to do this once per output file, because if device is 'pdfwrite', even if 'gs' sees '%d' in the OutputFile it still only creates one single output file. Embed it into a simple shell script if you want to split a document out into one file for every page.
Require the pdftk package
It ll split each page in your pdf file , into a new pdf file and report info on doc_data.txt
If you can do better, submit your command here.
You must be signed in to comment.