LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Pine or Mail - empty mailbox by command line (https://www.linuxquestions.org/questions/linux-software-2/pine-or-mail-empty-mailbox-by-command-line-282471/)

jtp51 01-26-2005 10:05 AM

Pine or Mail - empty mailbox by command line
 
Does Pine or Mail have a command line argument that will empty (delete all unread or read messages) the mailbox?

I had been testing a cron job that sent an email on an error, which filled up my mailbox rather quickly.

Therefore, I am looking for an easy way to empty my mailbox.

Thank you!

ironwalker 01-26-2005 12:12 PM

Do.... man mail
scroll down to "deleteing mail"

jtp51 01-26-2005 01:17 PM

There is no section entitled 'Deleting mail'.

I will rephrase my question, how can I delete all of my messages at once without having to select each one and marking them with 'd'?

Thank you!

ironwalker 01-26-2005 01:49 PM

d1-10 will delete messages 1 through 10

My bad...title was "disposeing of mail"


All times are GMT -5. The time now is 11:15 AM.