<<< Date Index >>>     <<< Thread Index >>>

Re: How to convert maildir to mbox format



Larry Alkoff <labradley@xxxxxxxxxxxxxx> wrote:
> There are many mbox to maildir format conversion programs
> but I have not found one going the other way.
>
> Does anyone know of such?

Mutt does such.  Open an mbox, tag every message, and tag-save them to a
pre-existing maildir.

qmail also includes "maildir2mbox".

> It doesn't seem that it would be so hard to make:
[...] 
> for *.msg do
> blank line
> From "Return-Path" "day-date-time"
> message
> 
> one at a time to a file.mbx using the >> addend.

Not quite.  You'll need to do From escaping as well.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                             <mutt@xxxxxxxxxxxxxxxxxxxx>
GPL'ed software available at:     http://www.qcc.ca/~charlesc/software/
-----------------------------------------------------------------------