Newer
Older
[general]
status_path = "~/.config/vdirsyncer/status/"
[pair calenders]
a = "nc_calender" ## This is just a local name for the nextcloud calendar
b = "local_calender" ## This is just a local name for the local calendar on the computer
collections = ["from a", "from b"] ## This tells vdirsyncer to sync from a to b
metadata = ["color"] ## This tells vdirsyncer to sync colors too.
[storage local_calender]
type = "filesystem"
path = "~/.sync-calendars/" ## This tells vdirsyncer where to store the ical files locally. Make sure the dir exits.
fileext = ".ics"
[storage nc_calender]
type = "caldav"
url = "https://YourNextCloudDomainName.tld/remote.php/dav/principals/users/YourNextCloudUserName/"
username = "NCUserName"
password = "NCUserPassword"
start_date = "datetime.now() - timedelta(days=365)"
end_date = "datetime.now() + timedelta(days=365)"