Skip to content

Question/Feature request: Sync/merge contacts from a Google/iCloud .vcf export/backup #1056

Open
@azbarcea

Description

@azbarcea

I'm looking to find out if import/sync can be done between a unified .vcf file obtained as export/backup from Google/iCloud/etc.

I presume the singlefile storage type was created for this, but using a config file: ~/.config/vdirsyncer/config:

[general]
status_path = "~/.vdirsyncer/status/"

[pair alex_contacts]
a = "contacts_local"
b = "google_backup"
collections = ["from a", "from b"]
metadata = ["color"]

[storage contacts_local]
type = "filesystem"
path = "~/.contacts/"
fileext = ".vcf"

[storage google_backup]
type = "singlefile"
path = "<path to google export of contacts file>.vcf"

Having output:

$ vdirsyncer -v DEBUG discover
Discovering collections for pair alex_contacts
contacts_local:
google_backup:
Saved for alex_contacts: collections = []

vdirsyncer version: 0.19.1
Server: iCloud/Google export/backup as .vcf
Python version: 3.10.10
OS: arch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions