Is there an easy way to remove empty maildir directories?
Chris Green
cl at isbd.net
Sat Jan 9 12:00:11 UTC 2021
I know that save_empty doesn't work for maildir but I was wondering if
there's a (relatively) easy way to do it?
I know it's not going to save much space but I do rearrange my saved
mail sometimes and as a result leave empty directories cluttering
things up (and confusing me!).
It's not trivial as, presumably, one needs to check to see if all
three cur, new and tmp directories are empty and, if they are, remove
all three and the parent directory.
I can (fairly) easily write a script to do it but was hoping there
might be something ready-made somewhere.
--
Chris Green
More information about the Mutt-users
mailing list