Submitted by mikesven on Thu, 08/05/2010 - 09:53
There have been a few times where I have had the need to remove all of the .svn folders from a specific problem. Rather then enabling hidden files and going through the directory folder by folder, I have found a simple command that can be run though terminal that takes care of the job rather quickly. I know that you can also do an SVN export to achieve the same results, but there have been a few instances where it was not an option.
cd /directory_to_remove_files_from find . -name .svn -print0 | xargs -0 rm -rf