@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
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
本文介绍了一个用于批量删除项目中所有.svn文件夹的批处理脚本。该脚本能够递归地搜索并移除指定目录及其子目录下的.svn文件夹,适用于清理版本控制系统痕迹。
298

被折叠的 条评论
为什么被折叠?



