1 頁 (共 1 頁)

[SVN] 刪除 .svn 目錄

發表於 : 2010-02-02 11:10:54
yehlu
http://bigair.pixnet.net/blog/post/22909733
UNIX-Like:

find . -type d -name ".svn" | xargs rm -rf

Windows: (用 Google 偷來的,出自: Jon Galloway : Shell Command - Remove SVN Folders)

http://blog.miniasp.com/post/2008/04/19 ... mmand.aspx

代碼: 選擇全部

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 /k \"TITLE Removing SVN Folders in %1 && FOR /r \"%1\" %%f IN (.svn _svn) DO RD /s /q \"%%f\" \""