<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "刪除 .svn 目錄"]]></title>
		<link>https://forum.andowson.com/posts/list/16.page</link>
		<description><![CDATA[Latest messages posted in the topic "刪除 .svn 目錄"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>刪除 .svn 目錄</title>
				<description><![CDATA[ 在使用Subversion作為版本控制軟體後，常常會發現將檔案上傳到伺服器後，系統出現隱藏的.svn目錄。如果我們想要將這些目錄刪除，可透過下列方式： 
<br>
1.在網站的根目錄下執行下列指令，找出這些.svn目錄的路徑 
<br>
[code]du --si | grep .svn | awk '{print $2}' &gt; /tmp/svn.txt[/code] 
<br>
2.透過cat指令將/tmp/svn.txt的內容印出作為rm 的參數即可 
<br>
[code]rm -rf `cat /tmp/svn.txt`[/code] 
<br>
3.最後，我們可以連/tmp/svn.txt也一起刪掉 
<br>
[code]rm -rf /tmp/svn.txt[/code] 
<br>]]></description>
				<guid isPermaLink="true">https://forum.andowson.com/posts/preList/447/914.page</guid>
				<link>https://forum.andowson.com/posts/preList/447/914.page</link>
				<pubDate><![CDATA[Sat, 23 Oct 2010 22:34:54]]> GMT</pubDate>
				<author><![CDATA[ andowson]]></author>
			</item>
	</channel>
</rss>