Shao Zhang wrote: > > Hi, > How can I use 'find' together with other shell tools to scan the > directory and print the filename if it is over a certain size. > > Thanks. > > Shao.
The only other shell tool you need is man :) >From find(1) -size n[bckw] File uses n units of space. The units are 512-byte blocks by default or if `b' follows n, bytes if `c' follows n, kilobytes if `k' follows n, or 2-byte words if `w' follows n. The size does not count indirect blocks, but it does count blocks in sparse files that are not actually allocated. Hope this helps. -- Regards, Paul