Export evolution address book to gmail
Gmail can now import csv (comma separated values) files to its contact list. However Evolution can only save its address book in vcard format so here’s a modified version of the script taken from Raj Shekhar with a few tweaks to work with gmail import.
Click here to download vcard2csv.pl.
Export address book from evolution by selecting all the contacts and save as address.vcf, then run the script with:
$ cat address.vcf | ./vcard2csv.pl > addressbook.csv
Now addressbook.csv can be imported to gmail.
4 Responses to “Export evolution address book to gmail”
Leave a Reply
You must be logged in to post a comment.
August 22nd, 2004 at 10:52 pm
The script needs ‘email’ changed to ‘email address’ for line one of the csv file. It also sticks multiple email addresses for one user together, which is not ideal.
February 13th, 2005 at 8:30 pm
Hey,
Thanks for sharing the script!
I’m trying to use it script on Mandrake 10.1, with perl version 5.8.5-3mdk and get the following errors:
syntax error at ./vcard2csv.pl line 17, near “= ) ”
syntax error at ./vcard2csv.pl line 136, near “}”
Execution of ./vcard2csv.pl aborted due to compilation errors.
Since I know absolutely zilch about programming I can’t really fix the ish myself. Any pointers?
November 10th, 2006 at 1:09 pm
vcard2csv.pl download link broken
November 10th, 2006 at 2:13 pm
Thanks for pointing it out John, link fixed.