Expunge a folder
$ himalaya folder expunge [OPTIONS] <FOLDER>
The concept of expunging is similar to the IMAP one: it definitely deletes emails from the given folder that contain the “deleted” flag.
Options
--disable-cache
Disable any sort of cache.
The action depends on commands it apply on. For example, when listing envelopes using the IMAP backend, this flag will ensure that envelopes are fetched from the IMAP server rather than the synchronized local Maildir.
-a|--account
Override the default account.
An account name corresponds to an entry in the table at the root level of your TOML configuration file.
Settings
folder.expunge.backend
Override the backend used for expunging folders.
# valid backends: maildir, imap, notmuch
folder.expunge.backend = "imap"