trying to figure out a cli way to empty all email from a specific email account.
It is certainly possible to type:
mutt -f account D ~s .* then quit....
Is there a way to do this all from cli/cron?
Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.