pimutils / mates.rs

A very simple commandline addressbook
MIT License
63 stars 9 forks source link

Indexing exported google contacts fails #24

Closed j605 closed 6 years ago

j605 commented 6 years ago

Google contacts allows you to export all contacts in a single vcf file. But this does not work with mates which cannot import the whole file. I had to resort to this since vdirsyncer was not able to sync all my contacts. It just outputs:

Error while reading /home/jagan/.contacts/contacts.vcf: Error while parsing contact: Trailing data: `BEGIN:VCARD
---snipped---
the whole file after the first VCARD
---continued---
END:VCARD
`
Several errors happened while generating the index
untitaker commented 6 years ago

You can export the file, then sync it as singlefile using vdirsyncer to a filesystem folder.

mates itself does not deal with multiple vcards in one file. It would make it very slow