<<< Date Index >>>     <<< Thread Index >>>

Re: question about deleting mail ...



Thomas Glanzmann wrote:
> > can one  delete all the contents of a mailbox in mutt
> > *without* having to change into the mailbox ?
> > I have 5000 msgs in a mailbox and it will take forever
> > over NFS to change into that folder.
> 
> maildir oder mbox?

Mailboxes as you describe are simply files on disk.  Removing the
files will delete the messages.

If maildir then:

  rm -rf ~/Mail/your-mailbox

If mbox then:

  rm -f ~/Mail/your-mailbox

Maildir are directories and so need a recursive option to delete the
files below the directory.

Bob