Reputation: 272204
I want it to be cleared of SVN, recursively, but of course keep my files.
Upvotes: 0
Views: 566
Reputation: 15167
You mean killing all the .svn directories? This should do it:
find -name '.svn' -type d -exec rm -rf {} ';'
EDIT: Updated from comments. Doh!
Upvotes: 2
Reputation: 168786
You can fetch a new copy from the svn repository using the svn export
command instead of svn checkout
. The resulting tree will have no SVN bits in it.
Upvotes: 1
Reputation: 829
use find and look for the .svn directories
find . -name "FILE-TO-FIND"-exec rm -rf {} \;
Upvotes: 2