git checkout [email protected]:leipert/mail2ttl.git
cd mail2ttl
npm install -g .
node ./generateMail.js
mail2ttl mail.file
To convert your whole maildir do something like
find ~/mail/Archive/ -type f | parallel ./bin/mail2ttl {} >~/dump.ttl
or during development:
cd mail2ttl
npm install
node ./generateMail.js
./bin/mail2ttl mail.file