[TriLUG] command line: delete all mail in a folder

rasch at raschnet.com rasch at raschnet.com
Tue Sep 30 09:02:24 EDT 2003


On Tue, Sep 30, 2003 at 01:07:40AM -0400, Michael Hrivnak <mhrivnak at triad.rr.com> wrote:
> I am looking for the best way to delete all the mail in an mbox folder
> from the command line.

in perl:

truncate("~/mbox", 0);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://www.trilug.org/pipermail/trilug/attachments/20030930/7e6c4318/attachment.pgp>


More information about the TriLUG mailing list