guille/spot — pull request #3 by alphapapa (2012-03-15 01:40:43+00:00)
Title: Handle directory names with spaces

I think $dir needs to be quoted.