🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #19630

Re: Quick way to list how many files in a each subdirectory?

#19630
From: Michael Hucka
Date: Thu, 24 Jul 1997 00:00
18 lines
1408 bytes
>>>>> On 23 Jul 1997, bem@news.cmc.net (brian moore) wrote:

  bem> How about something like:
  bem> find /var/spool/news -type d -size +24 -ls

At least under Solaris 2.5.x, the size of the directory doesn't directly
correlate with the number of files in it.  However, the size does appear to
increase monotonically with the number of files in the directory, so it's
true that you could use this as a rough guide to directory bloat (as Matt
Dillon also pointed out in a separate posting).

-- 
Mike Hucka    hucka@umich.edu    http://www.eecs.umich.edu/~hucka    University
 PhD to be, computational models of human visual processing (AI Lab)     of
   UNIX systems administrator & programmer/analyst (EECS DCO)         Michigan

Technical Details
Message-ID: <82pvs959be.fsf@manic.eecs.umich.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <823ep57gog.fsf@manic.eecs.umich.edu> <5r5qsr$qht$1@news.cmc.net>

Show Full Headers
Complete Article Headers
Message-ID: <82pvs959be.fsf@manic.eecs.umich.edu>
Subject: Re: Quick way to list how many files in a each subdirectory?
Date: Thu, 24 Jul 1997 00:00:00 +0000
From: Michael Hucka <hucka@eecs.umich.edu>
References: <823ep57gog.fsf@manic.eecs.umich.edu> <5r5qsr$qht$1@news.cmc.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 258433302
Distribution: inet
Organization: University of Michigan EECS, Ann Arbor, Mich., USA
Newsgroups: news.software.nntp