Initial check-in of a handy little tool I wrote a while back