Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
开发者_Python百科 Improve this questionI have new messages in my .maildir/new/. There are a lot of bug reports I would like to remove.
I would like to remove messages with subject that contains Webkit. How can I do it?
Thanks for any help.
Each email is simply a file. Removing the file deletes the email.
grep -l -r Webkit .maildir/new | xargs rm
精彩评论