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
- Host: GitHub
- URL: https://github.com/seebi/mail2ttl
- Owner: seebi
- Created: 2016-08-16T12:23:49.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-18T12:02:03.000Z (almost 10 years ago)
- Last Synced: 2025-06-27T17:56:55.329Z (about 1 year ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```