---
name: "watch_maildirs"
section: "1"
platform: "linux"
package: "watch-maildirs"
version: "1.2.0-2.2+b1"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/watch_maildirs"
---

# watch\_maildirs(1)

watch for and display Maildir/Maildir++ changes

## NAME

watch\_maildirs - watch for and display Maildir/Maildir++ changes

## SYNOPSIS

**watch\_maildirs** \[*options* ...\]

## DESCRIPTION

**watch\_maildirs** is a command line application which watches a given Maildir and displays change notifications. The Maildir may contain sub-mailboxes (Maildir++). Once **watch\_maildirs** is watching, a newline is printed. Then, for each change the mailbox's name and a newline are printed.

## 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)](/mswatch/1.md), [**inputkill**(1)](/inputkill/1.md), [**maildir**(5)](/maildir/5.md)

**watch\_maildirs** is part of [**mswatch**(1)](/mswatch/1.md); mswatch website: http://mswatch.sf.net/

## AUTHOR

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