Re: [Evolution] Deleting duplicate email messages?



cheers();

I have imported loads of Outlook email archives and Eudora mbox email
into Eudora. Unfortunately there are quite a few duplicates in various
folders. Is there an automated way I can delete these duplicates, e.g.
through a filter or some scripting magic?

There is a procmail recipe to do this -- for incoming mail. See 'man
procmailex', search for 'msgid.cache'.


Your problem would be, to get those mails already in your mbox folders
to formail.

That should be possible with an Evo filter piping any message to
'formail -D 8192 msgid.cache' and depending on the return value (1 or 0)
move to Trash.

You have to select all messages you want to delete duplicate MsgIDs and
activate the filter manually.

Good luck -- and don't forget to save all your mails. Paranoia saves
your day...

...guenther


-- 
char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]