I use SVN kind of a lot, and when I need to pack the files to distribute them is not nice to leave the SVN files..Here a really simple way of deleting those anoying files:
find . -name '.svn' -type d | xargs rm -rf
This searches for all directories which have svn related files. This is a useful command, but might not work as expected if there are hundreds of thousands files on the server. In this case the following command may be useful:
find . -name .svn -prune -exec rm -rf {} ;
Source devarticles.in