On Tue, Jun 07, 2005 at 04:25:20PM +0100, Chris Green wrote:
... er, yes, and having tagged the duplicate messages how does one delete all but one of them, automatically by script?
I think formail is a better answer! :-)
Oh sorry reading your original mail I was under the impression you had lots of mbox files you wanted to turn into 1 *big* mbox file and then remove the duplicates.
To do this (the quick and dirty way) I would cat all the mbox files into 1 *big* mbox file and then in mutt do a
T ~=
(to select all the duplicates)
and then a
;d
to delete the duplicates.
I can't recall why I had to do this recently but I did, it was probably after I broke my mail system at some point :)
Adam