info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to export nnml group to mbox file?


From: Jochem Huhmann
Subject: Re: How to export nnml group to mbox file?
Date: Wed, 29 Nov 2006 19:22:59 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

Ted Zlatanov <tzz@lifelogs.com> writes:
> (while Gnus can copy/move the articles natively, it's nice to
> understand how to do the job from the command line)
>
> You should be able to just do "cat * > mbox_file" I think.  But you
> need a blank line at the end of every message, so this should work:
>
> ls | perl -ne 'chomp; open F, $_; print <F>; print "\n";' > mbox_file

I finally did a 

cat * | formail -ds >> mbox_file

Which worked fine (and fast).


        Jochem

-- 
 "A designer knows he has arrived at perfection not when there is no 
 longer anything to add, but when there is no longer anything to take away."
 - Antoine de Saint-Exupery 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]