mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Update config example
This commit is contained in:
parent
b8ef130a77
commit
0b0cf3c952
1 changed files with 18 additions and 16 deletions
|
|
@ -1,53 +1,55 @@
|
||||||
|
# An example configuration for vdirsyncer.
|
||||||
|
# Optional parameters are commented out.
|
||||||
|
|
||||||
[general]
|
[general]
|
||||||
# A folder where vdirsyncer can store some metadata about each pair.
|
# A folder where vdirsyncer can store some metadata about each pair.
|
||||||
status_path=~/.vdirsyncer/status/
|
status_path = ~/.vdirsyncer/status/
|
||||||
#verbose = False
|
#verbose = False
|
||||||
|
|
||||||
# CONTACTS
|
# CONTACTS
|
||||||
[pair bob_contacts]
|
[pair bob_contacts]
|
||||||
# A pair references two storages and tells vdirsyncer to syncronize them.
|
|
||||||
# Similar to accounts in OfflineIMAP.
|
# Similar to accounts in OfflineIMAP.
|
||||||
# This synchronizes only a single calendar/addressbook
|
|
||||||
a = bob_contacts_local
|
a = bob_contacts_local
|
||||||
b = bob_contacts_remote
|
b = bob_contacts_remote
|
||||||
# conflict_resolution = None # abort when collisions occur
|
collections = private,coworkers # collections = addressbooks in this case
|
||||||
|
# conflict_resolution = None # abort when collisions occur (default)
|
||||||
# conflict_resolution = a wins # assume a's items to be more up-to-date
|
# conflict_resolution = a wins # assume a's items to be more up-to-date
|
||||||
# conflict_resolution = b wins # assume b's items to be more up-to-date
|
# conflict_resolution = b wins # assume b's items to be more up-to-date
|
||||||
|
|
||||||
[storage bob_contacts_local]
|
[storage bob_contacts_local]
|
||||||
# A storage references actual data on a remote server or on the local disk.
|
# A storage references actual data on a remote server or on the local disk.
|
||||||
# Similar to repositories in OfflineIMAP.
|
# Similar to repositories in OfflineIMAP.
|
||||||
# This represents only a single calendar/addressbook
|
|
||||||
type = filesystem
|
type = filesystem
|
||||||
path = ~/.watdo/tasks/somecalendar/
|
path = ~/.contacts/
|
||||||
fileext = .vcf
|
fileext = .vcf
|
||||||
|
|
||||||
[storage bob_contacts_remote]
|
[storage bob_contacts_remote]
|
||||||
type = carddav
|
type = carddav
|
||||||
url = https://owncloud.example.com/remote.php/carddav/addressbooks/bob/default/
|
url = https://owncloud.example.com/remote.php/carddav/addressbooks/bob/default/
|
||||||
username = # blabla
|
#username = # blabla
|
||||||
password = # blabla
|
#password = # blabla
|
||||||
|
|
||||||
# CALENDAR
|
# CALENDAR
|
||||||
[pair bob_calendar]
|
[pair bob_calendar]
|
||||||
a = bob_calendar_local
|
a = bob_calendar_local
|
||||||
b = bob_calendar_remote
|
b = bob_calendar_remote
|
||||||
|
collections = private,work
|
||||||
|
|
||||||
[storage bob_calendar_local]
|
[storage bob_calendar_local]
|
||||||
type = filesystem
|
type = filesystem
|
||||||
path = ~/.watdo/tasks/somecalendar/
|
path = ~/.watdo/tasks/
|
||||||
fileext = .ics
|
fileext = .ics
|
||||||
|
|
||||||
[storage bob_calendar_remote]
|
[storage bob_calendar_remote]
|
||||||
type = caldav
|
type = caldav
|
||||||
url = https://owncloud.example.com/remote.php/caldav/calendars/bob/somecalendar/
|
url = https://owncloud.example.com/remote.php/caldav/calendars/bob/
|
||||||
username = # blabla
|
#username = # blabla
|
||||||
password = # blabla
|
#password = # blabla
|
||||||
|
|
||||||
# Specify a time range which should be synchronized. Either both start_date and
|
# Optional: Specify a time range which should be synchronized. Either both
|
||||||
# end_date or neither have to be set. The default is to synchronize everything.
|
# start_date and end_date or neither have to be set. The default is to
|
||||||
# The following example synchronizes from one year in the past to one year in
|
# synchronize everything. The following example synchronizes from one year in
|
||||||
# the future.
|
# the past to one year in the future.
|
||||||
|
|
||||||
# All Python expressions are allowed here. The global namespace contains
|
# All Python expressions are allowed here. The global namespace contains
|
||||||
# everything from the datetime module. The expression has to evaluate to a
|
# everything from the datetime module. The expression has to evaluate to a
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue