Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 545 Bytes

File metadata and controls

32 lines (26 loc) · 545 Bytes

CalDAV2ICS

A simple script to download all calendars from a CalDAV server and save them as .ics files.

Installation

pip install caldav2ics

Usage

  • 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.toml

or without to be prompted for the password

C2I_PASSWORD=$(cat .password) caldav2ics -c config.toml

TODO

  • tests