<<< Date Index >>>     <<< Thread Index >>>

Re: Does anyone know of a mailbox merging utility?



On Tue, Jan 27, 2004 at 12:19:17PM -0500, Phil!Gregory wrote:
> * Chris Green <chris@xxxxxxxxxxx> [2004-01-27 16:41 +0000]:
> > I want to merge two mailbox files in the sense
> > of adding them together and then deleting all duplicate messages.
> 
> As mentioned, you can combine the mboxes by appending one to the other.
> For the duplicates, mutt can handle these with, I think, the edit_threads
> patch.  (Or perhaps it's in the core functionality now?)  Messages with
> duplicate Message-Id: headers are displayed threaded, with an equals sign:
> 
>   Message foo
>   `=>
> 
> You can match them with the ~= pattern, so deleting them all is as simple
> as '<delete-pattern>~=<enter>'.
> 
Ah, so it was on topic!  :-)

I already have one script that uses mutt by 'push'ing some commands so
this may well be the easiest way to do the merge as well, thanks!

-- 
Chris Green (chris@xxxxxxxxxxx)