[Bug 595766] Re: delete archives from web admin pages

Mark Sapiro mark at msapiro.net
Fri Jun 18 20:28:18 CEST 2010


> currently in my server i delete the HTML archives but it still shows
> a list of archives from 2008 in the HTML archive list.

Are you trying to delete just older messages leaving the most recent
ones and continuing to archive? If so, and if you don't mind the message
numbers and hence URLs of the recent messages changing, you can do the
following:

If you have say 5000 total messages in the cumulative
archives/private/listname.mbox/listname.mbox file, and you want to keep
only the most recent 500 for the HTML archive, just do

  bin/arch --wipe --start=4500 listname

This will recreate the table of contents with only the current messages.

If you want to empty the archive completely, you can do

  bin/arch --wipe listname /dev/null

And this will give you the "no messages have been posted" table of
contents until a new post is archived.

-- 
delete archives from web admin pages
https://bugs.launchpad.net/bugs/595766
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.


More information about the Mailman-coders mailing list