Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ll-xn!cit-vax!amdahl!amdcad!jimb From: jimb@amdcad.UUCP (Jim Budler) Newsgroups: net.sources.bugs Subject: Re: FSLS - List big files in file system - (nf) Message-ID: <13026@amdcad.UUCP> Date: Tue, 16-Sep-86 02:05:19 EDT Article-I.D.: amdcad.13026 Posted: Tue Sep 16 02:05:19 1986 Date-Received: Tue, 16-Sep-86 06:47:28 EDT References: <14600002@siedap.UUCP> <1273@ihlpl.UUCP> <573@ih1ap.UUCP> <168@eneevax.UUCP> Reply-To: jimb@amdcad.UUCP (Jim Budler) Organization: AMD, Sunnyvale, California Lines: 63 In article <168@eneevax.UUCP> phaedrus@eneevax.UUCP (Praveen Kumar) writes: >>>From: sja@ih1ap.UUCP (Steve Alesch) >>> > 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 >> >> > >Well, xargs doesn't exist in the BSD universe. I looked for it on >our Pyramid and our Vax 785 running 4.3 - it wasn't on either. However, >our Masscomp (which is a dual universe machine) does have it. > >pk phaedrus@eneevax.umd.edu or {seismo,allegra}!umcp-cs!eneevax!phaedrus For your information, the header from the public domain reimplementation of xargs: +--------------- | From decwrl!decvax!genrad!panda!sources-request Thu Feb 20 17:45:44 PST 1986 | | Mod.sources: Volume 3, Issue 106 | Submitted by: seismo!amdahl!gam (Gordon A. Moffett) | | Here is a reimplementation of the System V utility xargs. I haven't | heard any complaints about it, though [1] There is room for improvement | regarding the command buffer size (tho' it is better than the System V | area in that particular regard) [2] It does not have all the features | of the System V version (as the man page points out). | | Gordon A. Moffett | {ihnp4,seismo,hplabs}!amdahl!gam | +--------------- -- Jim Budler Advanced Micro Devices, Inc. (408) 749-5806 Usenet: {ucbvax,decwrl,ihnp4,allegra,intelca}!amdcad!jimb Compuserve: 72415,1200 I got tired of my old signature.