Branch for josephs comments

This line is a title, not a description.  "Remove directories recursively" would be a better title.  You can explain what happens if $dir does not exist in the succeeding lines.