Recursively remove directories - UNIX

Posted by Daniel Vela on February 4, 2011

To remove directories recursively, you can use the following commnad.

rm -rf `find . -type d -name .svn`  

ā€œ- type dā€ is used for directories. Without it you can delete files also.