Import Gmail contacts into BBDB
- Go to http://contacts.google.com, click the menu "More>>Export…>>vCard format (blah, blah …)".
- Click "Export" button. Download the contacts.vcf.
- Make sure bbdb-vcard.el installed.
- In Emacs run "M-x bbdb-vcard-import-file" and input the full path of contacts.vcf
- In Emacs run "M-x bbdb-save"
- Remove contacts whose names are empty. These are Google Plus people inserted automatically by Gmail:
Run the command in shell:
# the orginal ~/.bbdb will be saved as ~/.bbdb.bak sed -i.bak '/["" ""/d' ~/.bbdb