Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!udel!rochester!kodak!dixel!lrul00 From: lrul00@dixel.Kodak.COM (Richard C. Dempsey) Newsgroups: comp.unix.questions Subject: Re: Finding Large Files Keywords: find, files Message-ID: <1990Oct12.125125.15538@kodak.kodak.com> Date: 12 Oct 90 12:51:25 GMT References: <2141@megadon.UUCP> Sender: news@kodak.kodak.com Organization: Eastman Kodak Co. Lines: 29 In article felps@convex.com (Robert Felps) writes: >In <2141@megadon.UUCP> kevinc%tekig5.pen.tek.com (Kevin E Cosgrove) writes: >>Does anyone know how to find files of a certain size or larger? >>Find(1) will allow me to find files of exactly a certain number >>of blocks, but not over a certain number of blocks. >Try, > find . -size +100 -print >unless I'm not understanding your problem you just need to use the - or +. The following three lines are taken from the man page for find(1) on SunOS 4.1, and are the entire discussion about the size qualifier. My interpretation is that the + syntax doesn't work on SunOS, at least. I wouldn't care to generalize to other flavors of Unix... -size n True if the file is n blocks long (512 bytes per block). If n is followed by a c, the size is in characters. -- Richard C. Dempsey, Computational Science Lab | dempsey@Kodak.COM 10th Floor, Bldg 83, RL | KODAKR(DEMPSEY) Eastman Kodak Company | (716) 477-3457 Rochester, NY 14650-2205 |