1. D - press Shift-d (delete ...


  1. D - press Shift-d (delete pattern)
  2. ~s .* then press enter. Mutt will flag all mail with a D.
    • or just .*
  3. q to quit mutt
    • confirm deletion before exit.

another way

  1. T - tag pattern mode
  2. ~s .* - tag all mails
  3. ;d - delete tagged mails
  4. $ (Shift+4) - to sync change to your mailbox or q to quit mutt


Deleting all e-mail messages in your inbox with mutt



如果覺得這篇文章對你有幫助, 除了留言讓我知道外, 或許也可以考慮請我喝杯咖啡, 不論金額多寡我都會非常感激且能鼓勵我繼續寫出對你有幫助的文章。

If this blog post happens to be helpful to you, besides of leaving a reply, you may consider buy me a cup of coffee to support me. It would help me write more articles helpful to you in the future and I would really appreciate it.

Related Posts