Fabian Peter Hammerle f611d0a937 pipeline: upgrade pipenv | %!s(int64=3) %!d(string=hai) anos | |
---|---|---|
.github | %!s(int64=3) %!d(string=hai) anos | |
ical2vdir | %!s(int64=4) %!d(string=hai) anos | |
tests | %!s(int64=3) %!d(string=hai) anos | |
.gitignore | %!s(int64=4) %!d(string=hai) anos | |
.pylintrc | %!s(int64=3) %!d(string=hai) anos | |
CHANGELOG.md | %!s(int64=3) %!d(string=hai) anos | |
COPYING | %!s(int64=4) %!d(string=hai) anos | |
Pipfile | %!s(int64=3) %!d(string=hai) anos | |
Pipfile.lock | %!s(int64=3) %!d(string=hai) anos | |
README.md | %!s(int64=4) %!d(string=hai) anos | |
mypy.ini | %!s(int64=4) %!d(string=hai) anos | |
pyproject.toml | %!s(int64=3) %!d(string=hai) anos | |
setup.py | %!s(int64=3) %!d(string=hai) anos |
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