Skip to content

Instantly share code, notes, and snippets.

View john2x's full-sized avatar
👨‍👩‍👦‍👦

John Louis Del Rosario john2x

👨‍👩‍👦‍👦
View GitHub Profile
@john2x
john2x / offlineimap-notify.sh
Last active January 20, 2023 03:18 — forked from nlamirault/gist:38cfc46682eaeb28709e
offlineimap-notify.sh
#!/bin/bash
usage="usage: $(basename "$0") [-hn] ACCOUNT
Check an offlineimap account's mail directory for new messages and trigger notification
where:
-h show this help text
ACCOUNT the offlineimap account name"