Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/schoettl/ical2text

Tools to process iCalendar format at the command line
https://github.com/schoettl/ical2text

Last synced: 24 days ago
JSON representation

Tools to process iCalendar format at the command line

Awesome Lists containing this project

README

        

ical2text
=========

Overview
--------

Convert iCalendar format (.ics) to plain text.
The output can be further processed at the command line, e.g.

```
# Display all meetings in December 2016
ical2text < calendar.ics | grep ^2016-12 | grep -i meeting | sort
```

Usage:

```
ical2text

Usage:
ical2text [options]

Options:
-f, --field-separator=STRING
Field separator used to separate title, description, and location [default: @@].
-l, --line-separator=STRING
Line separator used to separate lines in description and location [default: ,,].
-h, --help
Print this help message.
```

Article: http://jakob.keramik-schoettl.de/blog/#sec-1-5

Build
-----

[Stack](https://www.haskellstack.org), Haskell's build tool, must be installed.

```
stack install docopt
stack install iCalendar
stack ghc ical2text.hs
```