Sunday, October 3, 2010

[HOWTO] Remove .svn folder under svn repository

When you svn checkout a project via SVN, it will create .svn folder to keep track the changing in this working folder also. However, when you need to give out the source code, this .svn folder may not be good to be distributed to other also. Instead of remove the folder one by one. You can use find command

find PATH -type d -name '.svn' -exec rm -rf {} \;

No comments:

Post a Comment