43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
# An example configuration for vdirsyncer.
|
|
#
|
|
# Optional parameters are commented out.
|
|
# This file doesn't document all available parameters, see
|
|
# http://vdirsyncer.pimutils.org/ for the rest of them.
|
|
|
|
[general]
|
|
# A folder where vdirsyncer can store some metadata about each pair.
|
|
status_path = "./build/vdirsyncer/status/"
|
|
|
|
# CARDDAV
|
|
[pair my_contacts]
|
|
a = "my_contacts_local"
|
|
b = "my_contacts_remote"
|
|
|
|
# Synchronize all collections that can be found.
|
|
# You need to run `vdirsyncer discover` if new calendars/addressbooks are added
|
|
# on the server.
|
|
|
|
collections = ["from a", "from b"]
|
|
|
|
# Synchronize the "display name" property into a local file (~/.contacts/displayname).
|
|
metadata = ["displayname"]
|
|
|
|
# To resolve a conflict the following values are possible:
|
|
# `null` - abort when collisions occur (default)
|
|
# `"a wins"` - assume a's items to be more up-to-date
|
|
# `"b wins"` - assume b's items to be more up-to-date
|
|
#conflict_resolution = null
|
|
|
|
[storage my_contacts_local]
|
|
# A storage references actual data on a remote server or on the local disk.
|
|
# Similar to repositories in OfflineIMAP.
|
|
type = "filesystem"
|
|
path = "./build/contacts/"
|
|
fileext = ".vcf"
|
|
|
|
[storage my_contacts_remote]
|
|
type = "carddav"
|
|
url = "https://my.nextcloud.com/remote.php/dav"
|
|
username = "my_user"
|
|
password = "my_pass"
|