我有文件的列表,看起来像这样查找文件具有固定的文件大小(> 0)的Unix/Linux
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
什么是大小衡量?它在磁盘或大小上的大小? – 2010-05-06 03:03:21