mdirs(1)

mdirs1

List maildir folders, recursively

Usage

mdirs [-0a] dirs ...

Overview

mdirs recursively scans the given dirs for maildir (and maildir++) folders and prints them, separated by newlines.

To mdirs, a maildir folder is a directory containing the directories cur and new. By the maildir++ convention, nested maildir folder names must begin with ‘.’. (This can be disabled using -a).

The options are as follows:

-0

Print folders separated by a NUL character.

-a

Traverse into all subfolders, without considering the maildir++ name conventions.

Exit status

The mdirs utility exits 0 on success, and >0 if an error occurs.

Releases

4 releases since Debian 10 (Buster); the text changed 1 time.

  1. 10
  2. 11–13

-a since Debian 11 (Bullseye).

Authors

Leah Neukirchen ⟨[email protected]⟩

License

mdirs is in the public domain.

To the extent possible under law, the creator of this work has waived all copyright and related or neighboring rights to this work.

http://creativecommons.org/publicdomain/zero/1.0/

From mblaze 1.1-1 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.