FSLS - List big files in file system - (nf)

Praveen Kumar phaedrus at eneevax.UUCP
Sun Sep 14 02:28:03 AEST 1986


>>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

-- 
"Everybody wants a piece of pie, today," he said.
"You gotta watch the ones who always keep their hands clean."

phaedrus at eneevax.umd.edu or {seismo,allegra}!umcp-cs!eneevax!phaedrus



More information about the Comp.sources.bugs mailing list