Manual Page Result
0
Command: rmf | Section: 1 | Source: Digital UNIX | File: rmf.1.gz
rmf(1) General Commands Manual rmf(1)
NAME
rmf - remove folder (only available within the message handling system,
mh)
SYNOPSIS
rmf [ +folder ] [ -help ] [ -[no]interactive ]
DESCRIPTION
The rmf command removes all of the messages within the current folder,
and then removes the folder itself. If there are any files within the
folder which are not part of MH, they are not removed, and an error
message is displayed.
You can specify a folder other than the current folder by using the
+folder argument. If you do not specify a folder, and rmf cannot find
the current folder,rmf asks you whether you want to delete +inbox in-
stead.
If the current folder is removed, it makes +inbox current.
Note that the rmf command irreversibly deletes messages that do not
have other links, so use it with caution.
If the folder being removed is a sub-folder, the parent folder becomes
the new current folder, and rmf tells you that this has happened. This
provides an easy mechanism for selecting a set of messages, operating
on the list, then removing the list and returning to the current folder
from which the list was extracted.
Using rmf to delete a read-only folder deletes the private sequence and
current message information from the .mh_profile file, without affect-
ing the folder itself. If you have sub-folders within a folder, you
must delete all the sub-folders before you can delete the folder it-
self.
FLAGS
-help Prints a list of the valid options to this command.
-interactive
-nointeractive
Asks for confirmation before deleting a folder. By default,
rmf deletes a folder and its messages without asking for con-
firmation. If you specify the -interactive option, rmf asks
if you are sure before deleting the folder. You are advised
to use this option, since when rmf deletes a folder its con-
tents are lost irretrievably.
EXAMPLES
This example shows how rmf asks for confirmation when the -interactive
option is used: % rmf -interactive +test Remove folder "test"? y
PROFILE COMPONENTS
tab(+); l l. Path:+To determine the user's Mail directory
FILES
$HOME/.mh_profile
The user profile.
RELATED INFORMATION
rmm(1) delim off
rmf(1)