# An example configuration for vdirsyncer. # # Move it to ~/.vdirsyncer/config or ~/.config/vdirsyncer/config and edit it. # Run `vdirsyncer --help` for CLI usage. # # 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 = "~/.config/vdirsyncer/status/" # CALDAV [pair Cours_cal] a = "cours_cal_local" b = "cours_cal_remote" collections = ["from a", "from b"] # Calendars also have a color property metadata = ["displayname", "color"] [storage cours_cal_local] type = "filesystem" path = "~/.calendars/Cours1/" fileext = ".ics" [storage cours_cal_remote] type = "caldav" url = "https://cloud.poneyworld.net/remote.php/dav/calendars/lafrite/cours1/" username = "lafrite" password.fetch = ["command", "pass", "OVH/Embrevade/docker/nextcloud/lafrite"] [pair perso_cal] a = "perso_cal_local" b = "perso_cal_remote" collections = ["from a", "from b"] # Calendars also have a color property metadata = ["displayname", "color"] [storage perso_cal_local] type = "filesystem" path = "~/.calendars/Perso/" fileext = ".ics" [storage perso_cal_remote] type = "caldav" url = "https://cloud.poneyworld.net/remote.php/dav/calendars/lafrite/personal/" username = "lafrite" password.fetch = ["command", "pass", "OVH/Embrevade/docker/nextcloud/lafrite"] [pair vacancesA] a = "vacancesA_public" b = "vacancesA_private" collections = null [storage vacancesA_public] type = "http" # The URL to your iCalendar file. url = "https://www.data.gouv.fr/fr/datasets/r/b580138b-ae5c-4b4d-8cbf-110ffd373192" [storage vacancesA_private] type = "filesystem" path = "~/.calendars/Vacances/" fileext = ".ics" # CARDAV [pair nextcloud_contacts] # A `[pair ]` block defines two storages `a` and `b` that should be # synchronized. The definition of these storages follows in `[storage ]` # blocks. This is similar to accounts in OfflineIMAP. a = "nextcloud_contacts_local" b = "nextcloud_contacts_remote" # 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 nextcloud_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" [storage nextcloud_contacts_remote] type = "carddav" url = "https://cloud.poneyworld.net/remote.php/dav/addressbooks/users/lafrite/contacts/" username = "lafrite" password.fetch = ["command", "pass", "OVH/Embrevade/docker/nextcloud/lafrite"] # The password can also be fetched from the system password storage, netrc or a # custom command. See http://vdirsyncer.pimutils.org/en/stable/keyring.html