﻿{"id":201,"date":"2010-05-25T12:17:07","date_gmt":"2010-05-25T04:17:07","guid":{"rendered":"http:\/\/nick.workao.org\/?p=201"},"modified":"2010-05-25T12:17:07","modified_gmt":"2010-05-25T04:17:07","slug":"%e6%b8%85%e9%99%a4%e6%89%80%e6%9c%89-svn%e7%9b%ae%e5%bd%95","status":"publish","type":"post","link":"https:\/\/nick.txtcc.com\/index.php\/other\/201","title":{"rendered":"\u6e05\u9664\u6240\u6709.svn\u76ee\u5f55"},"content":{"rendered":"<div>\n\n\u4ece\u7f51\u4e0a\u4e0b\u8f7d\u7684\u5f00\u6e90\u9879\u76ee\uff0c\u60f3\u628a\u5b83\u96c6\u6210\u5230\u81ea\u5df1\u7684\u7cfb\u7edf\u4e2d\uff0c\u9700\u8981\u5148\u628a\u91cc\u9762\u7684\u7248\u672c\u63a7\u5236\u6587\u4ef6\u5220\u9664\u6389\u3002\n\n\u8fd9\u91cc\u8f6c\u8f7d\u4e00\u4e0b\u7f51\u4e0a\u627e\u5230\u7684\u5220\u9664\u65b9\u6cd5\uff0c\u4ee5\u5907\u540e\u7528\uff0c\u4ee5\u4e0b\u5185\u5bb9\u8f6c\u81ea\uff1a<a href=\"http:\/\/iceskysl.1sters.com\/\" target=\"_blank\">IceskYsl@1sters!<\/a>\n\n<strong>\u4e00\u3001\u5728linux\u4e0b<\/strong>\n\n\u5220\u9664\u8fd9\u4e9b\u76ee\u5f55\u662f\u5f88\u7b80\u5355\u7684\uff0c\u547d\u4ee4\u5982\u4e0b\nfind . -type d -name &#8220;.svn&#8221;|xargs rm -rf\n\n\u6216\u8005\n\nfind . -type d -iname &#8220;.svn&#8221; -exec rm -rf {} ;\n\n\u5168\u90e8\u641e\u5b9a\u3002(http:\/\/tech.techweb.com.cn\/redirect.php?fid=26&#038;tid=205673&#038; amp;goto=nextnewset)\n\n<strong>\u4e8c\u3001\u5728windows\u4e0b\u7528\u4ee5\u4e0b\u6cd5\u5b50\uff1a<\/strong>\n\n1\u3001\u5728\u9879\u76ee\u5e73\u7ea7\u7684\u76ee\u5f55\uff0c\u6267\u884cdos\u547d\u4ee4\uff1a\nxcopy project_dir project_dir_1 \/s \/i\n\n2\u3001\u6216\u8005\u5728\u9879\u76ee\u6839\u76ee\u5f55\u6267\u884c\u4ee5\u4e0bdos\u547d\u4ee4\nfor \/r . %%a in (.) do @if exist &#8220;%%a.svn&#8221; rd \/s \/q &#8220;%%a.svn&#8221;\n\n\u5176\u5b9e\u7b2c\u4e8c\u79cd\u65b9\u6cd5\u53ef\u4ee5\u7528\u6765\u5e72\u5f88\u591a\u4e8b\u7684\uff0c\u6bd4\u5982\u628a\u4ee3\u7801\u4e2d\u7684.svn\u66ff\u6362\u4e3a\u4efb\u610f\u5176\u4ed6\u6587\u4ef6\u540d\u5e76\u5728\u786c\u76d8\u6839\u76ee\u5f55\u4e0b\u6267\u884c\uff0c\u5c31\u53ef\u4ee5\u4ece\u786c\u76d8\u4e0a\u5220\u9664\u6240\u6709\u7684\u8fd9\u4e2a\u6587\u4ef6\u5566\u3002\n\n3\u3001\u52a0\u6ce8\u518c\u8868\n\n<a href=\"http:\/\/weblogs.asp.net\/jgalloway\/default.aspx\">Jon  Galloway<\/a>\u63d0\u4f9b\u4e86\u4e00\u6bb5\u6ce8\u518c\u8868\u4ee3\u7801\uff0c\u53ef\u4ee5\u5c06\u201dDelete SVN  Folders\u201d\u547d\u540d\u589e\u52a0\u5230\u8d44\u6e90\u7ba1\u7406\u5668\u7684\u53f3\u952e\u4e0a\uff0c\u8fd9\u6837\uff0c\u9f20\u6807\u70b9\u4e24\u4e0b\u5c31\u80fd\u628a\u9009\u4e2d\u76ee\u5f55\u4e0b\u7684\u6240\u6709.svn\u76ee\u5f55\u5e72\u6389\u4e86\u3002Works just great!\n\n\u4ee3\u7801\u4e3a\uff1a\n<pre>Windows Registry Editor Version 5.00 \n\n[HKEY_LOCAL_MACHINESOFTWAREClassesFoldershellDeleteSVN]\n@=\"Delete SVN Folders\" \n\n[HKEY_LOCAL_MACHINESOFTWAREClassesFoldershellDeleteSVNcommand]\n@=\"cmd.exe \/c \"TITLE Removing SVN Folders in %1 && COLOR 9A && FOR \/r \"%1\" %%f IN (.svn) DO RD \/s \/q \"%%f\" \"\"\n<\/pre>\n\u5c06\u8fd9\u6bb5\u4ee3\u7801\u4fdd\u5b58\u4e3a\u4e00\u4e2a.reg\u6587\u4ef6\uff0c\u53cc\u51fb\u786e\u8ba4\u5bfc\u5165\u6ce8\u518c\u8868\u5373\u53ef\u3002\n\n<\/div>","protected":false},"excerpt":{"rendered":"<p>\u4ece\u7f51\u4e0a\u4e0b\u8f7d\u7684\u5f00\u6e90\u9879\u76ee\uff0c\u60f3\u628a\u5b83\u96c6\u6210\u5230\u81ea\u5df1\u7684\u7cfb\u7edf\u4e2d\uff0c\u9700\u8981\u5148\u628a\u91cc\u9762\u7684\u7248\u672c\u63a7\u5236\u6587\u4ef6\u5220\u9664\u6389\u3002 \u8fd9\u91cc\u8f6c\u8f7d\u4e00\u4e0b\u7f51\u4e0a\u627e\u5230\u7684\u5220\u9664\u65b9\u6cd5\uff0c\u4ee5\u5907\u540e\u7528\uff0c\u4ee5\u4e0b\u5185\u5bb9\u8f6c\u81ea\uff1aIceskYsl@1sters! \u4e00\u3001\u5728linux\u4e0b \u5220\u9664\u8fd9&#46;&#46;&#46;<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[144,145],"class_list":["post-201","post","type-post","status-publish","format-standard","hentry","category-other","tag-svn","tag-145"],"_links":{"self":[{"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/comments?post=201"}],"version-history":[{"count":1,"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/201\/revisions"}],"predecessor-version":[{"id":202,"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/201\/revisions\/202"}],"wp:attachment":[{"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/media?parent=201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/categories?post=201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/tags?post=201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}