Python script to export all events in all calendars as .ics
files from a CalDAV server. These can then be imported using various caldav
clients or when creating a DAViCal calendar.
See requirements.txt
.
Just run python export.py
If you don't want to be prompted for e. g. the calendar URL, create
a .env
file containing one or more of the following variables:
CALENDAR_URL
- the URL of the calendarCALENDAR_USER
- the username for the calendarCALENDAR_PASS
- the password for the calendarDESTINATION
- the resulting folder of the.ics
files
See LICENSE.txt
.
This script was heavily inspired by this excellent repo
Copyright (c) 2022 Jay Herron