2018-02-09 00:37:52 +00:00
|
|
|
iCalendar utility
|
|
|
|
=================
|
|
|
|
|
|
|
|
To get more information about the command line interface, use the ``-h``
|
|
|
|
option::
|
|
|
|
|
|
|
|
$ icalendar -h
|
|
|
|
|
|
|
|
view
|
|
|
|
----
|
|
|
|
|
2024-01-05 10:31:35 +00:00
|
|
|
To output a human readable summary of an event::
|
2018-02-09 00:37:52 +00:00
|
|
|
|
2024-01-05 10:31:35 +00:00
|
|
|
$ icalendar myfile.ics
|
2018-02-09 00:37:52 +00:00
|
|
|
|
|
|
|
The output will look something like this::
|
|
|
|
|
|
|
|
Organiser: Secretary <secretary@company.com>
|
|
|
|
Attendees:
|
|
|
|
John Doe <j.doe@company.com>
|
|
|
|
Randy <boss@company.com>
|
|
|
|
Summary: Yearly evaluation.
|
|
|
|
When: Tue 14 Mar 2017 11:00-12:00
|
|
|
|
Location: Randy's office
|
|
|
|
Comment: Reminder.
|
|
|
|
Description:
|
|
|
|
|
|
|
|
Your yearly evaluation is scheduled for next Tuesday. Please be on time.
|
|
|
|
|
|
|
|
To use this in terminal based e-mail clients like mutt, add a new mime type (as
|
|
|
|
root)::
|
|
|
|
|
|
|
|
# cat << EOF > /usr/lib/mime/packages/icalendar
|
2024-01-05 10:31:35 +00:00
|
|
|
text/calendar; icalendar '%s'; copiousoutput; description=iCalendar text; priority=2
|
2018-02-09 00:37:52 +00:00
|
|
|
EOF
|
|
|
|
# update-mime
|