Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: $Revision: 1.6.2.16 $; site ISM780B.UUCP Path: utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!bellcore!decvax!genrad!grkermi!panda!talcott!harvard!think!ISM780B!jim From: jim@ISM780B.UUCP Newsgroups: net.unix-wizards Subject: Re: Re: Patch to find(1) to find large f Message-ID: <28500040@ISM780B.UUCP> Date: Sun, 9-Jun-85 11:46:00 EDT Article-I.D.: ISM780B.28500040 Posted: Sun Jun 9 11:46:00 1985 Date-Received: Thu, 13-Jun-85 01:31:13 EDT References: <1315@hammer.UUCP> Lines: 11 Nf-ID: #R:hammer:-131500:ISM780B:28500040:000:368 Nf-From: ISM780B!jim Jun 9 11:46:00 1985 find -size, like any of find's numeric comparisons, can in fact be done relatively: find $dir -size +`ls -l $file | awk '{print int(($5+511)/512)}'` -print will find files with block counts >= that of $file. Unfortunately, some versions (e.g., SysV.0) of find are brain-damaged, and count size in BUFSIZ instead of 512. -- Jim Balter, INTERACTIVE Systems (ima!jim)