[Cialug] Splitting mbox file

Andrew Denner linux-list at upeke.com
Thu Mar 21 08:07:59 UTC 2024


A possibility if you are willing to write some code would be to use the python mailbox package.  https://docs.python.org/3/library/mailbox.html
-------- Original message --------From: Dan Ramaley <dan at ramaley.net> Date: 3/20/24  6:53 PM  (GMT-06:00) To: Central Iowa Linux Users Group <cialug at cialug.org>, "L. V. Lammert" <lvl at omnitec.net> Subject: Re: [Cialug] Splitting mbox file Since this is presumably something you only have to do once and not something you're trying to script or automate, could you just load the mbox into an e-mail client that uses mbox format, and then create folders and move messages? Then copy the resulting mbox files to wherever you need them long-term? I think Thunderbird could do this pretty easily. I'm guessing most of the CLI clients would also work.On 2024-03-20 13:49, L. V. Lammert wrote:> Have a large mbox file with eight years of email, and it would make a lot> more sense to have separate years.> > Have only found one tool online, but it's windoze only (of course).> > Anyone seen a way to split it without spending an hour in Vim/EMACS?> >          TIA!> _______________________________________________> Cialug mailing list> Cialug at cialug.org> https://www.cialug.org/cgi-bin/mailman/listinfo/cialug_______________________________________________Cialug mailing listCialug at cialug.orghttps://www.cialug.org/cgi-bin/mailman/listinfo/cialug


More information about the Cialug mailing list