jcal2ical
Convert a jCalendar file RFC 7265 to ics RFC 5545.
| Error Code | Description |
|---|---|
| 1 | The input file is not a valid RFC 7265 jCalendar |
| 2 | The input file does not exist |
Examples
Convert a jcal file to an ics file:
$ jcal2ical example.jcal example.ics
Convert stdin to stdout with an invalid calendar:
$ echo ... | jcal2ical
The input file is not a valid RFC 7265 jCalendar.
Print the ics version of an jcal file:
$ jcal2ical example.jcal
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//pycalendar//ical2jcal//EN
END:VCALENDAR
Usage:
Arguments:
[JCAL_PATH]: Input jCalendar file or - for stdin [default: -][ICS_PATH]: Output iCalendar file or - for stdout (default) [default: -]
Options:
--version: Print version and exit--help: Show this message and exit.