mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Simplify example.cfg
This commit is contained in:
parent
2a3b56c179
commit
e297e6848a
1 changed files with 11 additions and 21 deletions
32
example.cfg
32
example.cfg
|
|
@ -1,5 +1,8 @@
|
||||||
# An example configuration for vdirsyncer.
|
# An example configuration for vdirsyncer.
|
||||||
|
|
||||||
# Optional parameters are commented out.
|
# Optional parameters are commented out.
|
||||||
|
# This file doesn't document all available parameters, see
|
||||||
|
# http://vdirsyncer.readthedocs.org/ for the rest of them.
|
||||||
|
|
||||||
[general]
|
[general]
|
||||||
# A folder where vdirsyncer can store some metadata about each pair.
|
# A folder where vdirsyncer can store some metadata about each pair.
|
||||||
|
|
@ -13,23 +16,16 @@ status_path = ~/.vdirsyncer/status/
|
||||||
a = bob_contacts_local
|
a = bob_contacts_local
|
||||||
b = bob_contacts_remote
|
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
|
# Synchronize all collections available on "side B" (in this case the server).
|
||||||
# in this example it means that
|
# You need to run `vdirsyncer discover` if new calendars/addressbooks are added
|
||||||
# - https://owncloud.example.com/remote.php/carddav/addressbooks/bob/default/
|
# on the server.
|
||||||
# will get synced with ~/.contacts/default/
|
|
||||||
# - https://owncloud.example.com/remote.php/carddav/addressbooks/bob/work/
|
|
||||||
# will get synced with ~/.contacts/work/
|
|
||||||
|
|
||||||
# Omitting this parameter implies that the given path and URL in the
|
# 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.
|
# collection each.
|
||||||
collections = ["default", "work"]
|
|
||||||
|
collections = ["from b"]
|
||||||
|
|
||||||
# To resolve a conflict the following values are possible:
|
# To resolve a conflict the following values are possible:
|
||||||
# `None` - abort when collisions occur (default)
|
# `None` - abort when collisions occur (default)
|
||||||
|
|
@ -45,16 +41,10 @@ path = ~/.contacts/
|
||||||
fileext = .vcf
|
fileext = .vcf
|
||||||
# Create the directory if it doesn't exist: `true` or `false`
|
# Create the directory if it doesn't exist: `true` or `false`
|
||||||
#create = true
|
#create = true
|
||||||
#encoding = utf-8
|
|
||||||
|
|
||||||
[storage bob_contacts_remote]
|
[storage bob_contacts_remote]
|
||||||
type = carddav
|
type = carddav
|
||||||
url = https://owncloud.example.com/remote.php/carddav/addressbooks/bob/
|
url = https://owncloud.example.com/remote.php/carddav/
|
||||||
# Auth types. If you know yours, set it explicitly for performance.
|
|
||||||
# - basic
|
|
||||||
# - digest
|
|
||||||
# - guess (default)
|
|
||||||
#auth = guess
|
|
||||||
#username =
|
#username =
|
||||||
# The password can also be fetched from the system password storage or netrc
|
# The password can also be fetched from the system password storage or netrc
|
||||||
#password =
|
#password =
|
||||||
|
|
@ -72,7 +62,7 @@ fileext = .ics
|
||||||
|
|
||||||
[storage bob_calendar_remote]
|
[storage bob_calendar_remote]
|
||||||
type = caldav
|
type = caldav
|
||||||
url = https://owncloud.example.com/remote.php/caldav/calendars/bob/
|
url = https://owncloud.example.com/remote.php/caldav/
|
||||||
#auth = guess
|
#auth = guess
|
||||||
#username =
|
#username =
|
||||||
#password =
|
#password =
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue