From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46422 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-15?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Diffinitive archiving method sought - Big prize money for best entrant Date: Fri, 06 Sep 2002 17:50:23 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031327428 23908 127.0.0.1 (6 Sep 2002 15:50:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 6 Sep 2002 15:50:28 +0000 (UTC) Cc: Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17nLNI-0006Ch-00 for ; Fri, 06 Sep 2002 17:50:24 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17nLO7-0001qo-00; Fri, 06 Sep 2002 10:51:15 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 06 Sep 2002 10:51:51 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id KAA02953 for ; Fri, 6 Sep 2002 10:51:39 -0500 (CDT) Original-Received: (qmail 4769 invoked by alias); 6 Sep 2002 15:50:59 -0000 Original-Received: (qmail 4764 invoked from network); 6 Sep 2002 15:50:58 -0000 Original-Received: from waldorf.cs.uni-dortmund.de (129.217.4.42) by gnus.org with SMTP; 6 Sep 2002 15:50:58 -0000 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id g86FoT822993; Fri, 6 Sep 2002 17:50:29 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id RAA15703; Fri, 6 Sep 2002 17:50:24 +0200 (MET DST) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id BA27A3AFDE; Fri, 6 Sep 2002 17:50:23 +0200 (CEST) Original-To: Harry Putnam Mail-Followup-To: Harry Putnam , In-Reply-To: (Harry Putnam's message of "Wed, 04 Sep 2002 19:17:25 -0700") Original-Lines: 32 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46422 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46422 Harry Putnam writes: > I use rsync to grab new stuff from the agentized messages, adding > them to an archive on a daily cron job. Anyone who knows about rsync > will know that it will keep adding any new messages to an archive. > Ok, fine so far. but given enough time, that archive will grow > un-usably large. Or at least large enough to be a pain to search etc. > > I want to break it up into chunks of some kind. I think calendar > quarters would be good. I don't mean here that the messages in the > archive have to fall inside a certain quarter, but only that the > quarter not hold any dups from the one before or after. So, I'm not > concerned about message dates, although they would by and large, fall > in place. Just a user imposed quarter of collected messages. Collect 6 months worth of articles in a directory. Then archive the ones older than 3 months into your archive and remove them from the directory. Then you wait another three months and again archive the old messages and remove them. Now comes the problem how to remove articles. If you're careful, it should be possible by removing the articles themselves plus the overview entries plus perhaps adjusting the active file. Another possibility is to figure out which function F is called from gnus-agent-expire to actually delete, then get a list of messages archived and call that function F on those messages. Not sure how to do it for leafnode, if you decide to use that. kai -- A large number of young women don't trust men with beards. (BFBS Radio)