How to remove all .svn folder in Linux / Mac?

Few days ago, i’m looking for way to delete all the .svn folder. Today i found the way to delete all .svn folder from my project folder in Linux.
To delete all .svn folder in Linux just follow the steps below:-
- Start Terminal
- change your current directory to your project folder (ex: /Users/me/Sites/project_a)
- type
find ./ -name ".svn" | xargs rm -Rf
and enter. - Done, all your .svn folder has been deleted.
By the way, you also can apply this method to remove all .svn folder in Mac machine.
Posted at June 24th, 2008 by chua
If you think this article helps you to solve your problem and clear your headache, feel free to buy me a drink :)

January 7th, 2009 at 8:14 am
This did no work for me on OSx.
June 19th, 2009 at 8:00 pm
Thanks. It works for me in linux. ubuntu 8.04 but nautils-svn cache still show the svn icon overlay but there was no .svn folders.
Thanks again.