Mike --

...and then Mike Arrison said...
% 
% Hello Mutters,

Hello!


%         I run mutt in a few different locations.  I've gathered a few
% different sent-mail mbox files that I'd like to combine into one.  Would
% cat'ing one onto another do it?  Is mutt smart enough to still sort
% them?

Sure.  The important bits in an mbox file are the ^From_ line (that's the
common notation for a beginning-of-line and "From" and then a space, and
it's importantly different from "^From:").  Since you have a ^From_ line
for every message (and we can say that because your mbox files currently
work), a simple

  cat mb1 mb2 mb3 > mboxall

will maintain that structure.  There's really nothing different except
the number of messages in the resultant file -- and one thing you'll find
about mutt, if you haven't already, is that very, very large numbers are
no problem :-)

You will note that the existing mbox files probably aren't really sorted
like you see them, anyway; you can view the messages in unsorted order by
going to the index and hitting 'o' (for s'o'rt) and then 'u'.  It's no
different in the big result mbox.


% 
%       -Mike Arrison


HTH & HAND

:-D
-- 
David T-G                      * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg28718/pgp00000.pgp
Description: PGP signature

Reply via email to