Cleanup: rmm

[previous] [next] [table of contents] [index]

MH keeps messages until you tell it to delete them. The command for removing messages is rmm. If you don't give message numbers, rmm removes the current message. That's handy when you're reading new mail that you don't want to keep. A typical mail-reading session might look like this:

% inc
    ...
% show
    ...
% rmm
% next
    ...
The command rmm 3 5 would remove messages 3 and 5. MH sequences (like rmm picked) and message ranges (like rmm last:3) will work, too.

By default, rmm doesn't actually remove a message; it just changes the message filename to "hide" it from MH. Later, a system program should delete the "removed" messages. If you accidentally use rmm, read about Removing and Recovering Messages or ask an MH expert to help you.

[Table of Contents] [Index] [Previous: Find and Specify with scan, pick, Ranges, Sequences] [Next: Using MIME]


Last change $Date: 1996/06/06 15:09:14 $

This file is from the third edition of the book MH & xmh: Email for Users & Programmers, ISBN 1-56592-093-7, by Jerry Peek. Copyright 1991, 1992, 1995 by O'Reilly & Associates, Inc. This file is freely-available; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. For more information, see the file copying.htm.

Suggestions are welcome: Jerry Peek <jerry@ora.com>

Questions or problems regarding this web site should be directed to Steve Gielda.
Copyright 1999 www.cotse.com.  All rights reserved.
Last modified: Friday April 02, 1999.