google-photo-to-vcard/vdirsyncer.conf.example

43 lines
1.3 KiB
Plaintext
Raw Permalink Normal View History

2018-04-04 23:55:09 +00:00
# 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/"
2018-04-04 23:55:09 +00:00
# CARDDAV
[pair my_contacts]
a = "my_contacts_local"
b = "my_contacts_remote"
2018-04-04 23:55:09 +00:00
# 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]
2018-04-04 23:55:09 +00:00
# A storage references actual data on a remote server or on the local disk.
# Similar to repositories in OfflineIMAP.
type = "filesystem"
path = "./build/contacts/"
2018-04-04 23:55:09 +00:00
fileext = ".vcf"
[storage my_contacts_remote]
2018-04-04 23:55:09 +00:00
type = "carddav"
url = "https://my.nextcloud.com/remote.php/dav"
username = "my_user"
password = "my_pass"