On 1999-08-17 14:35:24 -0700, Jeffrey L. Taylor wrote:
> I am looking for a program to merge two e-mail files/directories.
> The most immediate need is to be able to download my e-mail from
> either my laptop or my desktop and later merge the two (I'm using
> ~/Maildir/ format). It would also do the same with different
> formats so when I change e-mail clients, I can bring all the saved
> e-mail into the new client. Anyone know of such a program?
Try mutt.
I'm regularly doing things like this:
for f in `find -type f` ; do mutt -f $f -e "push T~A\nas+$f\nq"; done
To explain the stuffed part: T~A\n tags all messages in a folder,
as+$f\n applies "save to +$f" to allt hese messages. q quits. (Yes,
I am using non-standard key bindings.)
In my scenario, the source folders are all mbox type, but the
targets are varying in folder type, partially mbox, partially
maildir.