|
藍森林 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
應該這樣吧? |
| |