|
|
@ -13,27 +13,27 @@ To sync the data using CardDAV you'll need `vdirsyncer` aswell.
|
|
|
|
|
|
|
|
|
|
|
|
- Edit the `~/.config/vdirsyncer/config`.
|
|
|
|
- Edit the `~/.config/vdirsyncer/config`.
|
|
|
|
- Insert the following lines:
|
|
|
|
- Insert the following lines:
|
|
|
|
```
|
|
|
|
```
|
|
|
|
[general]
|
|
|
|
[general]
|
|
|
|
status_path = "~/.cache/vdirsyncer/status"
|
|
|
|
status_path = "~/.cache/vdirsyncer/status"
|
|
|
|
|
|
|
|
|
|
|
|
[pair private_contacts]
|
|
|
|
[pair private_contacts]
|
|
|
|
a = "private_contacts_local"
|
|
|
|
a = "private_contacts_local"
|
|
|
|
b = "private_contacts_remote"
|
|
|
|
b = "private_contacts_remote"
|
|
|
|
collections = ["from a", "from b"]
|
|
|
|
collections = ["from a", "from b"]
|
|
|
|
|
|
|
|
|
|
|
|
[storage private_contacts_local]
|
|
|
|
[storage private_contacts_local]
|
|
|
|
type = "filesystem"
|
|
|
|
type = "filesystem"
|
|
|
|
path = "~/.local/share/pim/contacts"
|
|
|
|
path = "~/.local/share/pim/contacts"
|
|
|
|
fileext = ".vcf"
|
|
|
|
fileext = ".vcf"
|
|
|
|
|
|
|
|
|
|
|
|
[storage private_contacts_remote]
|
|
|
|
[storage private_contacts_remote]
|
|
|
|
type = "carddav"
|
|
|
|
type = "carddav"
|
|
|
|
url = "https://<url>"
|
|
|
|
url = "https://<url>"
|
|
|
|
username = "<username>"
|
|
|
|
username = "<username>"
|
|
|
|
password = "<password>"
|
|
|
|
password = "<password>"
|
|
|
|
auth = "basic"
|
|
|
|
auth = "basic"
|
|
|
|
```
|
|
|
|
```
|
|
|
|
- `vdirsyncer discover && vdirsyncer metasync` - Initialize vdirsyncer
|
|
|
|
- `vdirsyncer discover && vdirsyncer metasync` - Initialize vdirsyncer
|
|
|
|
- `vdirsyncer sync` - Synchronize the addressbook (put this into a crontab to update periodically)
|
|
|
|
- `vdirsyncer sync` - Synchronize the addressbook (put this into a crontab to update periodically)
|
|
|
|
- Add and configure a config for khard
|
|
|
|
- Add and configure a config for khard
|
|
|
|