Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!ihnp4!ih1ap!sja From: sja@ih1ap.UUCP (Steve Alesch) Newsgroups: net.sources.bugs Subject: Re: FSLS - List big files in file system - (nf) Message-ID: <573@ih1ap.UUCP> Date: Thu, 11-Sep-86 12:48:27 EDT Article-I.D.: ih1ap.573 Posted: Thu Sep 11 12:48:27 1986 Date-Received: Fri, 12-Sep-86 05:34:27 EDT References: <14600002@siedap.UUCP> <1273@ihlpl.UUCP> Organization: AT&T Bell Labs, Naperville, IL Lines: 26 Summary: Neverrrrrrr use -exec, use xargs instead! In article <1273@ihlpl.UUCP>, psfales@ihlpl.UUCP (Peter Fales) writes: > > > > THIS PROGRAM FINDS LARGE FILES IN A GIVEN (BSD) FILE SYSTEM > > =========================================================== > > ... > I don't know about BSD, but I use the following command on my 3b2 > (System V) for clearing out big files on the disk: > > find / -size +nnn -print > > Where nnn is the cutoff point in blocks (512 byte blocks). To better > simulate the fsls command describe above, one could type > > find / -size +nnn -exec ls -l {} \; You can bury the machine this way!!!! It's incredibly more efficient using xargs(1) instead. find / -size +nnn -print | xargs ls -l Sorry, but this is one of my pet peeves. -- Steve Alesch AT&T (312)510-7881, ...!ihnp4!ih1ap!sja