FSLS - List big files in file system - (nf)
Jim Budler
jimb at amdcad.UUCP
Tue Sep 16 16:05:19 AEST 1986
In article <168 at eneevax.UUCP> phaedrus at eneevax.UUCP (Praveen Kumar) writes:
>>>From: sja at 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 at 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.
More information about the Comp.sources.bugs
mailing list