Created a command line version

I was told that it's great, but they want me to automate this with SQL
server.  So I created a command line version that I can run directly
from a SQL Server job.