在网上搜集的,主要方法是删除.svn目录
windows下可以这样:
@echo on color 2f mode con: cols=80 lines=25 @REM @echo Deleting all .svn, please wait...... @rem Delete .svn in current and sub directories @rem for /r . %%a in (.) do @if exist "%%a\.svn" @echo "%%a\.svn" @for /r . %%a in (.) do @if exist "%%a\.svn" rd /s /q "%%a\.svn" @echo SUCCESS!!! @pause
写个bat文件执行下
linux下就简单了
find ../../svncode/ -type d -name .svn -exec rm -rf {} \;