OK, here is a bash script for converting scanned PDFs into single page PDFs. Actually, it's more a concept of a bash script, as there's nothing like error-checking etc. So if one of the commands exits with errors, the script will go on as if nothing happened
Usage instructions are inside the script, so please read the comments :-)
Have fun!