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

https://github.com/seebi/mail2ttl

mail2ttl is a cli which parses a maildir mail and prints it as Turtle
https://github.com/seebi/mail2ttl

Last synced: about 1 year ago
JSON representation

mail2ttl is a cli which parses a maildir mail and prints it as Turtle

Awesome Lists containing this project

README

          

# mail2ttl

## Usage

```bash
git checkout git@github.com:leipert/mail2ttl.git
cd mail2ttl
npm install -g .
node ./generateMail.js
mail2ttl mail.file
```

To convert your whole maildir do something like

```bash
find ~/mail/Archive/ -type f | parallel ./bin/mail2ttl {} >~/dump.ttl
```

or during development:

```bash
cd mail2ttl
npm install
node ./generateMail.js
./bin/mail2ttl mail.file
```