aboutsummaryrefslogtreecommitdiffstats
path: root/.vdirsyncer/config
blob: 1b190f7b275e0c777048562d1aa0de05b7db6e7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# An example configuration for vdirsyncer.
# Optional parameters are commented out.

[general]
# A folder where vdirsyncer can store some metadata about each pair.
status_path = ~/.vdirsyncer/status/

# CARDDAV
[pair dave_contacts]
# A `[pair <name>]` block defines two storages `a` and `b` that should be
# synchronized. The definition of these storages follows in `[storage <name>]`
# blocks. This is similar to accounts in OfflineIMAP.
a = dave_contacts_local
b = dave_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/

# Omitting this parameter implies that the given path and URL in the
# corresponding `[storage <name>]` blocks are already pointing to a
# collection each.
collections = akt,bands,funkhaus,personal,pool,restaurants,service,tu-berlin,venues

# To resolve a conflict the following values are possible:
#   `None` - 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 = None

[storage dave_contacts_local]
# A storage references actual data on a remote server or on the local disk.
# Similar to repositories in OfflineIMAP.
type = filesystem
path = ~/.contacts/
fileext = .vcf
# Create the directory if it doesn't exist: `True` or `False`
#create = True
#encoding = utf-8

[storage dave_contacts_remote]
type = carddav
read_only = True
url = https://cloud.frqrec.com/remote.php/carddav/addressbooks/dave/
verify = False
# Auth types. If you know yours, set it explicitly for performance.
# - basic
# - digest
# - guess (default)
#auth = guess
username = dave
# The password can also be fetched from the system password storage or netrc
#password =

# CALDAV
[pair dave_calendars]
a = dave_calendars_local
b = dave_calendars_remote
collections = private,pool,frqrec,courses

[storage dave_calendars_local]
type = filesystem
path = ~/.calendars/
fileext = .ics

[storage dave_calendars_remote]
type = caldav
read_only = True
url = https://cloud.frqrec.com/remote.php/caldav/calendars/dave/
verify = False
#auth = guess
username = dave
#password =

# CALDAV
[pair funkhaus_calendars]
a = funkhaus_calendars_local
b = funkhaus_calendars_remote
collections = room

[storage funkhaus_calendars_local]
type = filesystem
path = ~/.calendars/
fileext = .ics

[storage funkhaus_calendars_remote]
type = caldav
read_only = True
url = https://cloud.frqrec.com/remote.php/caldav/calendars/funkhaus-d228/
verify = False
#auth = guess
username = funkhaus-d228
#password =