Linux - Remove SVN folders

To remove all svn folders/files from the current directory and all subdirectories, run the following command:
find . -name .svn -print0 | xargs -0 rm -r
This is useful if you run into difficulties, and allows you to move your local copy and make a backup, without copying any svn problems/errors. Then you can re-checking out the repository, before copying the files back.

No comments:

Post a Comment