|
|
3 years ago | |
|---|---|---|
| .github | 3 years ago | |
| ical2vdir | 3 years ago | |
| tests | 3 years ago | |
| .gitignore | 5 years ago | |
| .pylintrc | 3 years ago | |
| CHANGELOG.md | 3 years ago | |
| COPYING | 5 years ago | |
| Pipfile | 3 years ago | |
| Pipfile.lock | 3 years ago | |
| README.md | 5 years ago | |
| mypy.ini | 3 years ago | |
| pyproject.toml | 4 years ago | |
| setup.py | 3 years ago |
Convert / split single iCalendar
.ics file into a
vdir directory.
Pre-existing files will be updated or left unchanged.
Compatible with khal.
$ sudo apt-get install python3-icalendar # optional
$ pip3 install --user --upgrade ical2vdir
$ ical2vdir < input.ics --output-dir /some/path
Or download .ics from Google Calendar:
$ curl https://calendar.google.com/calendar/ical/someone%40gmail.com/private-1234/basic.ics \
| pipenv run ical2vdir --output-dir output/
Remove files from output directory that are not available in input:
$ ical2vdir < input.ics --output-dir /some/path --delete