^1640692625632
@
sname
findBigFile
slabel
查找大文件
stype
thingDesc
sgroup
Linux常用命令.文件
sicon
icons/html.png
Sdescription
#$@text#$@
<p><strong>查找大文件</strong></p>

<pre class="brush:bash;">
find . -type f -size +800M</pre>

<p><strong>查找大文件并列出文件信息</strong></p>

<pre class="brush:bash;">
find . -type f -size +800M  -print0 | xargs -0 ls -l</pre>

<p><strong>查找大文件列出文件大小</strong></p>

<pre class="brush:bash;">
find . -type f -size +800M  -print0 | xargs -0 du -h</pre>

<p><strong>查找大文件并排序</strong></p>

<pre class="brush:bash;">
find . -type f -size +800M  -print0 | xargs -0 du -hm | sort -nr</pre>

<p><strong>查找大目录</strong></p>

<pre style="margin: 0em; text-align: left;">
<span style="color:rgb(0, 128, 0)">du -h --max-depth=2 | sort -n</span></pre>

<p><strong>查找大目录只显示前12个</strong></p>

<pre style="margin: 0em; text-align: left;">
<span style="color:rgb(0, 128, 0)">du -hm --max-depth=2 | sort -nr | head -12</span></pre>
#$@text#$@
sdescriptors
xworker.lang.content.QuickContent
sinheritDescription
false
sth_createIndex
true
sth_registThing
command|xworker.jsch.JCtermRootWord
sth_registMyChilds
false
sth_registDisabled
false
sth_mark
false
