Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site lsuc.UUCP Path: utzoo!lsuc!dave From: dave@lsuc.UUCP (David Sherman) Newsgroups: net.bugs.4bsd,net.unix-wizards Subject: Re: Patch to find(1) to find large files. Message-ID: <669@lsuc.UUCP> Date: Fri, 14-Jun-85 09:37:59 EDT Article-I.D.: lsuc.669 Posted: Fri Jun 14 09:37:59 1985 Date-Received: Fri, 14-Jun-85 09:45:43 EDT References: <1842@ukma.UUCP> <663@lsuc.UUCP> <1315@hammer.UUCP> Reply-To: dave@lsuc.UUCP (David Sherman) Organization: Law Society of Upper Canada, Toronto Lines: 23 Summary: Use size +n In article <1315@hammer.UUCP> dce@hammer.UUCP (David Elliott) writes: ||In article <663@lsuc.UUCP> dave@lsuc.UUCP (David Sherman) writes: ||>Foo, grumble and feh! find(1) already has a "-size" option. ||>If you want to compare size against another file, it's ||>trivial to write a one-line awk script which feeds the right ||>information to find(1). ||> ||>Dave Sherman ||Put your money where your mouth is, Dave. The above note would ||imply that you can write an awk script that would generate a ||find command that looks something like this: || || find dir \( -size n -o -size n+1 -o -size n+2 ... \) No, I don't need an awk script for that, I type find dir -size +n ... The awk script is to compare size against another file - for that you'd run ls and use awk to extract the size to compare against. Dave Sherman -- { ihnp4!utzoo pesnta utcs hcr decvax!utcsri } !lsuc!dave