Is there an easy way to remove empty maildir directories?

Chris Green cl at isbd.net
Sat Jan 9 20:06:46 UTC 2021


On Sat, Jan 09, 2021 at 02:12:21PM -0500, Kurt Hackenberg wrote:
> On 1/9/21 7:00 AM, Chris Green wrote:
> 
> > I know that save_empty doesn't work for maildir...
> Huh. Why doesn't it?

Because it doesn't, see the documentation! :-)

    3.287. save_empty

    Type: boolean
    Default: yes

    When unset, mailboxes which contain no saved messages will be removed
    when closed (the exception is $spoolfile which is never removed). If
    set, mailboxes are never removed.

    Note: This only applies to mbox and MMDF folders, Mutt does not delete
    MH and Maildir directories.

-- 
Chris Green


More information about the Mutt-users mailing list