Very awesome script, exactly what I was looking for. However, the current scripts doesn't handle directories of filenames with spaces in it correctly.