【发布时间】:2010-05-06 03:01:16
【问题描述】:
我有一个看起来像这样的文件列表
4 -rw-r--r-- 1 neversaint hgc0746 53 May 1 10:37 SRX016372-SRR037477.est_count
4 -rw-r--r-- 1 neversaint hgc0746 53 May 1 10:34 SRX016372-SRR037478.est_count
4 -rw-r--r-- 1 neversaint hgc0746 53 May 1 10:41 SRX016372-SRR037479.est_count
0 -rw-r--r-- 1 neversaint hgc0746 0 Apr 27 11:16 SRX003838-SRR015096.est_count
0 -rw-r--r-- 1 neversaint hgc0746 0 Apr 27 11:32 SRX004765-SRR016565.est_count
我想要做的是找到大小正好为53 的文件。但是为什么这个命令失败了?
$ find . -name "*.est_count" -size 53 -print
如果我只想用这个命令查找大小为 0 的文件,它会很好用:
$ find . -name "*.est_count" -size 0 -print
【问题讨论】:
-
尺寸是多少?它是磁盘大小还是大小?