$ syncevolution --print-databases | more
...
Evolution Address Book = Evolution Contacts = evolution-contacts:
Personal (system-address-book)
$ syncevolution --print-items backend=evolution-contacts | more
...
pas-id-55290E7600000002: Sparda Bank
pas-id-5529531900000006: Hofpfisterei Deisenhofen
pas-id-552B785D00000008: Gemeinde Taufkirchen
...
The first word before the colon is an item ID. It is guaranteed to not contain a colon or characters that are special in a shell. The other item operation commands take such item IDs as optional parameters.
Print to stdout (mind the hyphen after --export!), using the native data format of the storage (no conversion):
When several IDs are given, the vCards are seperated by empty lines, which are guaranteed to not occur in the items themselves. When no ID is given, all items are exported.
How to update a single contact:
modify the file /tmp/sparda.vcf and reload it:
or you may delete it with:
and restore it again from the file with:
It is also possible to wipe out all items at once: