现在的位置: 首页 > 综合 > 正文

清除svn脚本

2012年02月24日 ⁄ 综合 ⁄ 共 299字 ⁄ 字号 评论关闭

save the following content in clearsvn.bat and save it in root dir.

@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

抱歉!评论已关闭.