[SVN] 刪除 .svn 目錄

回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

[SVN] 刪除 .svn 目錄

文章 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\" \""

回覆文章

回到「PHP」