How to remove all .svn directories

For this you have a few solutions, but if you have a clean repository i would recomend that you use the svn export command. This will copy all your files from the versioning system into the folder you specify, and this way you are ready to deploy your app.

If you have some broken repository you can try deleting all .svn directories. On windows you can try run a find in files, this should list all the directories, so you can go ahead and delete them. On a linux machine you can do it more elegant using the fallowing command in the root of your project:

Like this you should have the same result as with the svn export command, plus some of the files you may have excluded from the repository (uploads and other generated files that should not be in version control).