Tool to break archive into sections over time?

1996-03-11 14:08:15
Nancy McGough and Achim Bohnet touched on this subject a while back,
but neither posted a solution.

Does anyone have a script they'd be willing to share which automates
the doling out of MHonArc archives into separate sub-archives over time?

At a minimum, I'm thinking of a cron job which wakes up on the first
day of every Nth month and does more or less the following:

    -- Creates a new subdirectory for the current period, entitled
       perhaps "YYYYMM"
    -- Initializes the main and threaded indexes of the new
    -- Adds a link in the top-level HTML file to the main and threaded
       indexes of the new subdirectory.
    -- Creates a symlink called "current" linking to the "YYYYMM"
       subdirectory (so that new messages can always be added to

It looks like something of this sort must be in place for the archive
of the "mhonarc" mailing list:

Has anyone got a script handy to automate it?  Thanks.

-- Prentiss Riddle ("aprendiz de todo, maestro de nada") 
-- RiceInfo Administrator, Rice University /
-- Home office: 2002-A Guadalupe St. #285, Austin, TX 78705 / 512-323-0708

<Prev in Thread] Current Thread [Next in Thread>