Fabian Peter Hammerle d0f9d2653b drop compatibility with python3.8 | 2 weeks ago | |
---|---|---|
.github | 2 weeks ago | |
ical2vdir | 2 years ago | |
tests | 1 year ago | |
.gitignore | 4 years ago | |
.pylintrc | 2 weeks ago | |
CHANGELOG.md | 2 weeks ago | |
COPYING | 4 years ago | |
Pipfile | 2 weeks ago | |
Pipfile.lock | 2 weeks ago | |
README.md | 1 year ago | |
mypy.ini | 3 years ago | |
pyproject.toml | 3 years ago | |
setup.py | 2 weeks 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