{"id":171,"date":"2012-12-18T23:28:51","date_gmt":"2012-12-19T07:28:51","guid":{"rendered":"http:\/\/blog.ls-al.com\/?p=171"},"modified":"2012-12-18T23:33:20","modified_gmt":"2012-12-19T07:33:20","slug":"mutt-mass-delete","status":"publish","type":"post","link":"https:\/\/blog.ls-al.com\/mutt-mass-delete\/","title":{"rendered":"Mutt Mass Delete"},"content":{"rendered":"
From time to time I still use mutt to check or delete mail. For instance where I only have terminal access to a root account and something caused the account to collect thousands of e-mail.\u00a0 Here is how to delete a lot of mutt e-mail.<\/p>\n
In the main screen press D<\/strong> (shift + d) ~s will search the subject for the given expression and \".*\" is a global regex wild card<\/i><\/p>\n All messages will now be marked for deletion.\u00a0 Press q<\/strong> and y<\/strong> to confirm.<\/p>\n","protected":false},"excerpt":{"rendered":" From time to time I still use mutt to check or delete mail. For instance where I only have terminal<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,9],"tags":[],"class_list":["post-171","post","type-post","status-publish","format-standard","hentry","category-email","category-linux"],"_links":{"self":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/comments?post=171"}],"version-history":[{"count":0,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/171\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/media?parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/categories?post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/tags?post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\nDelete messages matching: ~s .*<\/span><\/p>\n