A simple script to download all calendars from a CalDAV server and save them as .ics files.
pip install caldav2ics- Create a config .toml file
[server_a]
url = "https://caldav.server_a.com/calendar/remote.php/dav/calendars/user/"
username = "user"
save-dir = "calendars/server_a"
[calendar_b]
...- Run the script
caldav2ics -c config.tomlor without to be prompted for the password
C2I_PASSWORD=$(cat .password) caldav2ics -c config.toml- tests