[Repost] Would like to insert old archives into new archives
No one answered this so I'm reposting it. Otherwise I'm probably going to "break down" and install Mailman on a dummy server and dork with a few scripts to see if I can do it manually.
-------- Original Message -------- From: Bryan-TheBS-Smith <b.j.smith@ieee.org> Subject: [Mailman-Users] New Mailman setup: would like to insert old archives into new archives To: mailman-users@python.org
New Mailman setup: would like to insert old archives into new archives
All --
I have just setup a Mailman server. Everything is working fine.
My delima?
How to I insert old archives for my lists into the new Mailman archives? The old archives are already in mbox format, separated by list name (e.g., I have 3 lists, I have 3 mbox files with all the old posts).
Thanx in advance and sorry if this has been answered before (I looked through the FAQ/HOWTO/list.org docs and a Google/Linux search before posting to no avail).
-- TheBS
-- Bryan "TheBS" Smith mailto:b.j.smith@ieee.org chat:thebs413 Engineer Absolute Value Systems, Inc. http://www.linux-wlan.org President SmithConcepts, Inc. http://www.SmithConcepts.com
When I needed to do this, I simply appended the .mbox file for the original list to the .mbox file of the current list (using Pico, since that's my editor of choice). Then I deleted the existing archives and rebuilt them using bin/arch.
-- Sarah
----- Original Message ----- From: "Bryan-TheBS-Smith" <b.j.smith@ieee.org> To: <mailman-users@python.org> Sent: Monday, August 20, 2001 1:09 PM Subject: [Mailman-Users] [Repost] Would like to insert old archives into new archives
No one answered this so I'm reposting it. Otherwise I'm probably going to "break down" and install Mailman on a dummy server and dork with a few scripts to see if I can do it manually.
-------- Original Message -------- From: Bryan-TheBS-Smith <b.j.smith@ieee.org> Subject: [Mailman-Users] New Mailman setup: would like to insert old archives into new archives To: mailman-users@python.org
New Mailman setup: would like to insert old archives into new archives
All --
I have just setup a Mailman server. Everything is working fine.
My delima?
How to I insert old archives for my lists into the new Mailman archives? The old archives are already in mbox format, separated by list name (e.g., I have 3 lists, I have 3 mbox files with all the old posts).
Thanx in advance and sorry if this has been answered before (I looked through the FAQ/HOWTO/list.org docs and a Google/Linux search before posting to no avail).
-- TheBS
-- Bryan "TheBS" Smith mailto:b.j.smith@ieee.org chat:thebs413 Engineer Absolute Value Systems, Inc. http://www.linux-wlan.org President SmithConcepts, Inc. http://www.SmithConcepts.com
Mailman-Users maillist - Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users
On 20 August 2001, Sarah K. Miller said:
When I needed to do this, I simply appended the .mbox file for the original list to the .mbox file of the current list (using Pico, since that's my editor of choice). Then I deleted the existing archives and rebuilt them using bin/arch.
<snarkiness level="high-to-moderate"> Many recent versions of Unix have an extremely powerful and advanced tool for just this: it's called "cat", short for "concatenate".
cat new_mbox >> old_mbox
could be just what the doctor ordered. HOWEVER, you MUST be sure to have a blank line between the last message in old_mbox and the first in new_mbox, so you might need this:
echo >> old_mbox; cat new_mbox >> old_mbox
This is especially useful if you're dealing with 20 MB mbox files that you don't want to load into your editor -- it's *much* more efficient this way! </snarkiness>
Hmm, this started out as a smart-ass, tongue-in-cheek response, but then got serious. So much for my reputation.
Greg
participants (3)
-
Bryan-TheBS-Smith
-
Greg Ward
-
Sarah K. Miller