Re: Converting individual messages to mbox format

From: Pat Barron <pat_at_transarc.ibm.com_at_hypermail-project.org>
Date: Thu, 28 Oct 1999 14:09:38 -0400 (EDT)
Message-ID: <Pine.GSO.3.96.991028135458.16152G-100000_at_smithfield.transarc.ibm.com>


On Thu, 28 Oct 1999, Ashley M. Kirchner wrote:
> Ouch. That's a crude way of doing it... If they're in RFC822 format, I
> see no reason why you can't just cat them all into a single file? And for
> that matter, you can just use a command line for that.
>
> for file in * ; do cat $file >> mbox ; echo "" >> mbox ; done (this is
> done under sh/bash)
>
> ...this would just cat each file, with a blank line between them, to
> another file called mbox (or whatever you want to call it).

Nope, that's no good - hypermail wants to see the mbox separator line (the one that would look like "From pat_at_transarc.ibm.com Thu Oct 28 13:00:00 1998" Otherwise it can't tell where one message ends and the next begins ...

Thanks,
--Pat. Received on Thu 28 Oct 1999 08:10:33 PM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:51 PM GMT GMT