From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/8290 Path: news.gmane.org!not-for-mail From: Jochem Huhmann Newsgroups: gmane.emacs.gnus.user Subject: Re: How to export nnml group to mbox file? Date: Wed, 29 Nov 2006 19:22:59 +0100 Organization: Home@Work Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1164826097 14564 80.91.229.2 (29 Nov 2006 18:48:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Nov 2006 18:48:17 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Nov 29 19:48:12 2006 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GpUTO-0002M2-E9 for gegu-info-gnus-english@m.gmane.org; Wed, 29 Nov 2006 19:47:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GpUTO-0004sr-2M for gegu-info-gnus-english@m.gmane.org; Wed, 29 Nov 2006 13:47:58 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsserver.news.garr.it!kanaga.switch.ch!switch.ch!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 22 Original-X-Trace: news.t-online.com 1164824575 00 16609 KBrRLI+v+xIPrN9 061129 18:22:55 Original-X-Complaints-To: usenet-abuse@t-online.de X-ID: EGc8cmZcoexQ32Vfy0RPpX9WBMOQ2-ib4lwFD-+YyD3CAPpcTWFPUj User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Cancel-Lock: sha1:Y7FfhCMgBzKGVzDopNh71N95Bto= Original-Xref: shelby.stanford.edu gnu.emacs.gnus:78475 Original-To: info-gnus-english@gnu.org X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:8290 Archived-At: Ted Zlatanov 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 ; 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