Fabian Peter Hammerle 16cd96154f pipeline / pipenv: explicitly specify python version to workaround pipenv picking highest available | 4 lat temu | |
---|---|---|
.github | 4 lat temu | |
ical2vdir | 4 lat temu | |
tests | 4 lat temu | |
.gitignore | 4 lat temu | |
.pylintrc | 4 lat temu | |
CHANGELOG.md | 4 lat temu | |
COPYING | 4 lat temu | |
Pipfile | 4 lat temu | |
Pipfile.lock | 4 lat temu | |
README.md | 4 lat temu | |
mypy.ini | 4 lat temu | |
setup.py | 4 lat temu |
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