watch_maildirs(1)

watch_maildirs(1) General Commands Manual watch_maildirs(1)

NAME

watch_maildirs - watch for and display Maildir/Maildir++ changes

SYNOPSIS

watch_maildirs [options ...]

DESCRIPTION

watch_maildirs watches a given Maildir and displays change notifications. The Maildir may contain sub-mailboxes (Maildir++). After starting, watch_maildirs prints a lone newline, to signal that it has begun watching the mailbox. For each change thereafter, it prints the mailbox's name and a newline.

OPTIONS

-m dir, --maildir=dir
Override the setting of the $MAILDIR environment variable (or if $MAILDIR is not defined, ~/Maildir) with dir.
-V, --version
Display version information.
-?, --help
Display a summary of command-line options.

EXIT CODES

1 upon error
2 upon folder creation, deletion, and rename that requires a watch_maildirs restart

SEE ALSO

mswatch(1), inputkill(1), maildir(5)

watch_maildirs is part of mswatch(1); mswatch website: http://mswatch.sf.net/

AUTHOR

Written by Chris Frost <chris@frostnet.net>.