Python scripts to export all .ics files from a CalDAV server in a specified time range and re-import them (e. g. on a different server).
See requirements.txt.
Requires a recent python version (probably 3.6 or higher).
Just run python export.py / python import.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 calendarCALENDAR_START- the start date and time for the export in ISO format (only for export)CALENDAR_END- the end date and time for the export in ISO format (only for export)
You will then only be prompted for the variables which aren't set.
See LICENSE.txt.
Copyright (c) 2021 Max von Forell