1. 程式人生 > >windows下刪除svn登錄檔。

windows下刪除svn登錄檔。

Windows Registry Editor Version 5.00


[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN]

@="Delete SVN Folders"



[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN\command]

@="cmd.exe /c \"TITLE Removing SVN Folders in %1 && COLOR 9A && FOR /r \"%1\" %%f IN (.svn) DO RD /s /q \"%%f\" \""
find . -type d -name ".svn"|xargs rm -rf

儲存成reg並新增到登錄檔

右鍵點選“Delete SVN Folders”就可以了