Fabian Peter Hammerle 5e394675dc dev env: upgrade black (removes dependency on appdirs & regex) | 2 years ago | |
---|---|---|
.github | 2 years ago | |
ical2vdir | 4 years ago | |
tests | 3 years ago | |
.gitignore | 4 years ago | |
.pylintrc | 3 years ago | |
CHANGELOG.md | 3 years ago | |
COPYING | 4 years ago | |
Pipfile | 2 years ago | |
Pipfile.lock | 2 years ago | |
README.md | 4 years ago | |
mypy.ini | 4 years ago | |
pyproject.toml | 3 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