[Evolution] deleting duplicate

guenther guenther@rudersport.de
Thu, 14 Oct 2004 15:12:57 +0200


I keep posting this way too often during the last days. If I get some
time, I probably should rewrite and clean up the old threads...


> thanks to the list now evo 2.0 is running ;) 
> is really faster, really a good job! 
> 
> but i've a little problem, for some reason in my old inbox  i've a lot
> of messagges duplicated/triplicated, how i could delete the unwanted
> copy?

To solve the dups issue you can use 'formail' (mbox files, I assume, as
are Evolution default). I already posted a working solution a couple of
times to this list.

I just searched my archives [1]. For the script itself and a couple of
warnings, caveats and notes, please read this link (better, the whole
discussions) and all links mentioned there.

http://lists.ximian.com/archives/public/evolution/2004-May/037188.html

Use it at YOUR OWN RISK. And MAKE BACKUPS of your mail first. Paranoia
saves your day.

...guenther


[1] Actually, I just copied the hunk I keep posting over and over
again... ;-)


-- 
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; }}}