<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://www.jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://www.jackxiang.com/post/4693/</link>
<title><![CDATA[[个人实践]Linux下使用find命令查找当前文件夹所有的目录，但不递目录下的目录归查找。]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[Cache与Store]]></category>
<pubDate>Tue, 04 Oct 2011 05:08:41 +0000</pubDate> 
<guid>http://www.jackxiang.com/post/4693/</guid> 
<description>
<![CDATA[ 
	find命令：<br/><textarea name="code" class="html" rows="15" cols="100">find . -type d&nbsp;&nbsp;</textarea><br/>查找当前目录下递归本层所有的文件夹，按评论说的作了下改动：<br/><textarea name="code" class="html" rows="15" cols="100">find . -maxdepth 1 -type d </textarea><br/>就是列出当前所有的文件夹，这样可以对一个满是Linux安装文件包并解压后的包含：tar.gz 目录等，做统计和删除，很有用。<br/>注意：<br/>-maxdepth&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; （其中‘1’为你本层目录里面查找，要是为‘2’的话就是两层目录下面的文件查找）<br/><br/>其实我是想删除这个目录下所有给解压的目录，只留下安装包，命令如下：<br/><textarea name="code" class="html" rows="15" cols="100">root@116.255.139.240:~/software# find . -type d&nbsp;&nbsp;-maxdepth&nbsp;&nbsp; 1 &#124;xargs rm -Rf</textarea>
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post/4693/#blogcomment63679</link>
<title><![CDATA[[评论] [个人实践]Linux下使用find命令查找当前文件夹所有的目录，但不递目录下的目录归查找。]]></title> 
<author>magento &lt;magentoeye@gmail.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Mon, 12 Mar 2012 03:28:35 +0000</pubDate> 
<guid>http://www.jackxiang.com/post/4693/#blogcomment63679</guid> 
<description>
<![CDATA[ 
	正确的是<br/>find .&nbsp;&nbsp;-maxdepth&nbsp;&nbsp; 1&nbsp;&nbsp;-type d
]]>
</description>
</item>
</channel>
</rss>