So I wrote a little command line "one liner" and posted it as a comment to Paul's blog post. Unfortunately, Wordpress does some smarty pants formatting on it, which makes it fairly useless. Besides, there was a mistake in my "one liner". This one is the latest version I'm using: