How to delete all .svn folders in Linux / Mac [#iosdev #git #svn]

I found this useful recently when receiving a batch of code from a client who still uses Subversion…

How to delete all .svn folders in Linux / Mac? – Techie Corner

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)
  • Enter the following into Terminal: find ./ -name “.svn” | xargs rm -Rf 

That should take care of it. In my tests I found one or two that still remained but this took most of the pain out of it.