Simplify example.cfg

This commit is contained in:
Markus Unterwaditzer 2014-12-25 18:26:17 +01:00
parent 2a3b56c179
commit e297e6848a

View file

@ -1,5 +1,8 @@
# An example configuration for vdirsyncer.
# Optional parameters are commented out.
# This file doesn't document all available parameters, see
# http://vdirsyncer.readthedocs.org/ for the rest of them.
[general]
# A folder where vdirsyncer can store some metadata about each pair.
@ -13,23 +16,16 @@ status_path = ~/.vdirsyncer/status/
a = bob_contacts_local
b = bob_contacts_remote
# If you want to synchronize several addressbooks, calendars etc that share
# the same storage location and differ only in a suffix to this location
# (i.e., a subdirectory) you can use collections. The comma-separated values
# in this parameter represent these subdirectories and are added as URL
# segments or similar.
# Together with the definition of the following two `[storage]` blocks below
# in this example it means that
# - https://owncloud.example.com/remote.php/carddav/addressbooks/bob/default/
# will get synced with ~/.contacts/default/
# - https://owncloud.example.com/remote.php/carddav/addressbooks/bob/work/
# will get synced with ~/.contacts/work/
# Synchronize all collections available on "side B" (in this case the server).
# You need to run `vdirsyncer discover` if new calendars/addressbooks are added
# on the server.
# Omitting this parameter implies that the given path and URL in the
# corresponding `[storage <name>]` blocks are already pointing to a
# corresponding `[storage <name>]` blocks are already directly pointing to a
# collection each.
collections = ["default", "work"]
collections = ["from b"]
# To resolve a conflict the following values are possible:
# `None` - abort when collisions occur (default)
@ -45,16 +41,10 @@ path = ~/.contacts/
fileext = .vcf
# Create the directory if it doesn't exist: `true` or `false`
#create = true
#encoding = utf-8
[storage bob_contacts_remote]
type = carddav
url = https://owncloud.example.com/remote.php/carddav/addressbooks/bob/
# Auth types. If you know yours, set it explicitly for performance.
# - basic
# - digest
# - guess (default)
#auth = guess
url = https://owncloud.example.com/remote.php/carddav/
#username =
# The password can also be fetched from the system password storage or netrc
#password =
@ -72,7 +62,7 @@ fileext = .ics
[storage bob_calendar_remote]
type = caldav
url = https://owncloud.example.com/remote.php/caldav/calendars/bob/
url = https://owncloud.example.com/remote.php/caldav/
#auth = guess
#username =
#password =