addrclean.pl

Posted on Wed 17 November 2004 in general

Today's geek is brought to you by the power of perl. From time to time (probably because I sync my Palm in 2 places) my main email client href="http://www.novell.com/products/evolution/">Evolution
generates duplicate contact records. This is a bug in the Evolution sync code which we have yet to pin down. However in the meantime hand weeding my address book is a pain so I wrote a little script. You can find it in my href="http://www.bennee.com/cgi-bin/viewcvs.cgi/src/perl/addrclean/">CVS
archive.

Usage:

[alex@cambridge addrclean]$ ./addrclean.pl -s -o newlist.vcf list.vcf
Processing VCARD 1
Couldn't find unique index for:
Processing VCARD 554
Processing done
Outputting new VCF addressbook newlist.vcf

[alex@cambridge addrclean]$