藍森林首頁 | 返回主頁 | 本站地圖 | 站內搜索 | 聯繫信箱 |
 您目前的位置:首頁 > 自由軟件 > 技術交流 > 系統管理


    

藍森林 http://www.lslnet.com 2006年8月18日 15:18


如何查找大小為500K到1000K之間的文件

--------------------------------------------------------------------------------

我要查介於500K至1000K之間的文件,請問用find命令怎麼解?
THANKS!!!

如何查找大小為500K到1000K之間的文件

http://www.lslnet.com/linux/#forum/4/20040524/16140.html

也許對你有幫助

如何查找大小為500K到1000K之間的文件

find -type f -size +500k -and -size -1000k
試試看嘍。

如何查找大小為500K到1000K之間的文件

因為-size n 的單位是block,是0.5K,所以應該是:
find $HOME  -type f -size +1000 and -size -2000 -print
要有目錄的

如何查找大小為500K到1000K之間的文件

up

-->
find $HOME  -type f -size +1000  [color=Blue]-and  [/color]-size -2000 -print
應該這樣吧?



Copyright © 1999-2000 LSLNET.COM. All rights reserved. 藍森林網站 版權所有。 E-mail : webmaster@lslnet.com