Paul J. Keenan [EMAIL PROTECTED] wrote: > 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 :)
This will only find files with the exactly or rounded same size. It does not give me the option to specify to print out files OVER a certain size. Shao. > > >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 > -- ____________________________________________________________________________ Shao Zhang - Running Debian 2.1 ___ _ _____ Department of Communications / __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _ University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` | Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, | Email: [EMAIL PROTECTED] |___/ _____________________________________________________________________________