wendy

run arbitrary commands on inotify events
git clone git://iotek.org/wendy
Log | Files | Refs | README | LICENSE

commit b9cb39779b27020654b686de18f2114c9613752b
parent f975a23b2234c3344a51832b025eb7dde47a8f45
Author: z3bra <willy@mailoo.org>
Date:   Mon Feb 10 09:55:18 2014

Added a README

Diffstat:
 README | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+), 0 deletions(-)

diff --git a/README b/README @@ -0,0 +1,24 @@ + ╻ ╻┏━╸┏┓╻╺┳┓╻ ╻ + ┃╻┃┣╸ ┃┗┫ ┃┃┗┳┛ + ┗┻┛┗━╸╹ ╹╺┻┛ ╹ + -- by z3bra +=========================== + +(W)atch (ENT)ire (D)irector(Y) is an inotify-based directory watcher. + +With wendy, you can watch event in a directory or on a file, and launch a +specific command when an event occurs. + +The program is made the moire simple possible, to leave the room to unlimited +uses. Be creative ! + +Here are some examples: + + # Tell me whenever I have a new mail + wendy -C ~/mails/INBOX/new -t 60 -e espeak "You got a new mail" + + # On-the-fly recompilation + wendy -M -f ~/src/dev/program/source.c -t 1 -e make + + # Get up to date with community based projects + wendy -DMC -f /mnt/nfs/project/ -t 30 -e notify-send 'project updated'