{"id":922,"date":"2013-04-23T11:04:46","date_gmt":"2013-04-23T18:04:46","guid":{"rendered":"http:\/\/jim-zimmerman.com\/?p=922"},"modified":"2013-04-23T11:06:34","modified_gmt":"2013-04-23T18:06:34","slug":"mutt-delete-messages-by-date-range","status":"publish","type":"post","link":"https:\/\/jim-zimmerman.com\/?p=922","title":{"rendered":"Mutt &#8211; delete messages by date range"},"content":{"rendered":"<p>Finally got fed up when faced with how to delete 9,000 of 10,000+ email message using mutt in linux.  The key is to get the messages tagged.  To tag messages, hit &#8220;T&#8221; (capital T).  Then, you will be presented a &#8220;Tag messages matching:&#8221; prompt.<\/p>\n<p>Tag the messages by date:<\/p>\n<blockquote><p>Tag messages matching: ~d <em>dd<\/em>\/<em>mm<\/em>\/<em>yyyy<\/em>&#8211;<em>dd<\/em>\/<em>mm<\/em>\/<em>yyyy<\/em><\/p><\/blockquote>\n<p>For example:<\/p>\n<blockquote><p>Tag messages matching: ~d 01\/01\/2012-31\/12\/2012<\/p><\/blockquote>\n<p>Tagged messages will now have an &#8220;*&#8221; (asterik).<\/p>\n<p>Delete all the tagged messages:<br \/>\nHit the &#8220;;&#8221; (semi-colon).  You will have a &#8220;tag-&#8221; prompt.  Then, just hit &#8220;d&#8221;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Finally got fed up when faced with how to delete 9,000 of 10,000+ email message using mutt in linux. The key is to get the messages tagged. To tag messages, hit &#8220;T&#8221; (capital T). Then, you will be presented a &#8220;Tag messages matching:&#8221; prompt. Tag the messages by date: Tag messages matching: ~d dd\/mm\/yyyy&#8211;dd\/mm\/yyyy For [&#038;hellip<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[48,325],"class_list":["post-922","post","type-post","status-publish","format-standard","hentry","category-documentation","tag-linux","tag-mutt"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/922","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=922"}],"version-history":[{"count":3,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/922\/revisions"}],"predecessor-version":[{"id":924,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/922\/revisions\/924"}],"wp:attachment":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=922"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=922"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}