Matthew --

...and then Matthew D. Fuller said...
% 
% On Mon, Jan 21, 2002 at 09:26:55PM -0500 I heard the voice of
% Derek D. Martin, and lo! it spake thus:
% > 
% > In which case I would ask, dude, why?  I thought my counterpart at
% > work was a pack rat...  ;-)
% 
% Hmmm....
% Well, my current archives have...   *does some quick scripting*
% (ttyp4):{920}% cat temp | dc
% 817181
% 
% So not quite a million messages, but still far more inodes than I'd care
% to eat on /home.

Ouch.  Yeah.


% 
% I rotate my folders manually every few weeks; generally, once a mailbox
% (in Maildir, being an active mailbox) reached 4000-7000 messages, and
% starts taking more than 6 or 7 seconds to open, I tag-all and drop it
% into a mbox, then slot that mbox into my archives.

Makes sense.


% 
% So, does that make ME a packrat?   ;)
% For reference:
% (ttyp4):{921}% du -sh .
% 2.5G    .

Well, ...

  [zero] [9:05am] ~/Mail>  cat `find . -type f -print | egrep -v /Z/ | \
  egrep '/F\.'` | egrep '^From ' | wc -l
    38124

  [zero] [9:09am] ~/Mail>  cat `find . -type f -print | egrep -v /Z/ | \
  egrep -v '/F\.'` | egrep '^From ' | wc -l
    31237

  [zero] [9:13am] ~/Mail>  zcat `find . -type f -print | egrep /Z/ | \
  egrep '/F\.'` | egrep '^From ' | wc -l
   168069

  [zero] [9:16am] ~/Mail>  zcat `find . -type f -print | egrep /Z/ | \
  egrep -v '/F\.'` | egrep '^From ' | wc -l
    28940

  [zero] [9:16am] ~/Mail>  echo "0 38124+ 31237+ 168069+ 28940+ pq" | dc
  266370

  [zero] [9:16am] ~/Mail>  du -sh .
  1.1G    .

I suppose it does, since I figure I am.  I honestly thought I'd at least
come close, but you're running nearly four times as many messages as I.
Of course, you're only taking up twice as much disk space; you must have
smaller messages overall ;-)

  [zero] [9:18am] ~/Mail>  ls -lFRt | tail
  -rw-------   1 davidtg       829 Jan 12  1994 alan.z

How old is your oldest? :-)


% 
% -- 
% Matthew Fuller     (MF4839)     |    [EMAIL PROTECTED]
% Unix Systems Administrator      |    [EMAIL PROTECTED]
% Specializing in FreeBSD         |    http://www.over-yonder.net/
% 
% "The only reason I'm burning my candle at both ends, is because I
%       haven't figured out how to light the middle yet"


:-D
-- 
David T-G                      * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg23553/pgp00000.pgp
Description: PGP signature

Reply via email to