esovetkin / mail2rem

a small wrapper script for converting ics file inside your Maildir to Remind calendar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mail2rem script

The script that in conjunction with notmuch and ical2rem programs automatically finds and converts *.ics calendars to Remind format.

It is assumed that one stores its mails in Maildir format and uses notmuch for indexing them. The script might me easily extended to be used with similar mail indexers.

The script should be run regularly, e.g. by crontab. It searches only through new mails which has not been processed yet.

Installation

You need to have the following programs installed: notmuch, ripmime, ical2rem, gawk, sed.

For Archlinux use::

$ yaourt -S mail2rem-git

or follow the guide on [AUR guide]: https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_packages to install the package from [AUR PKGBUILD]: https://aur.archlinux.org/packages/mail2rem-git/

For other systems simply copy the script to the directory included in your PATH, having installed the dependencies beforehand.

For installing dependencies follow instructions in the following links:

Usage

One has to specify the following arguments: '-d' directory with your Remind calendars, '-c' configuration file for notmuch (usually default is ~/.notmuch-config).

One can also pass additional query for notmuch with '-q' arguments, e.g. to collect calendar files only from particular mail directory.

For full list of options see: $ mail2rem -h

About

a small wrapper script for converting ics file inside your Maildir to Remind calendar


Languages

Language:Shell 100.0%