|  About Me  |  Blogs  |  Photos  |  Publications  |  Resume  | 

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”

  1. John Bray Says:

    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.

  2. Nadine Says:

    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?

  3. John Lim Says:

    vcard2csv.pl download link broken

  4. anniec Says:

    Thanks for pointing it out John, link fixed.

Leave a Reply

You must be logged in to post a comment.