RMF(1MH) COMMAND REFERENCE RMF(1MH)
NAME
rmf - remove folder
SYNOPSIS
rmf [ +folder ][ -help ]
DESCRIPTION
Rmf removes all of the files (messages) within the specified
(or default) folder, and then removes the directory
(folder). If there are any files within the folder which
are not a part of MH, they will not be removed, and an error
will be produced. If the folder is given explicitly or the
current folder is a subfolder (for example, a selection list
from pick), it will be removed without confirmation. If no
argument is specified and the current folder is not a
selection-list folder, the user will be asked for
confirmation.
Rmf irreversibly deletes messages that don't have other
links, so use it with caution.
If the folder being removed is a subfolder, the parent
folder will become the new current folder, and rmf will
produce a message telling the user 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 (See
the example under pick(1mh)).
The files that rmf will delete are cur (current), any file
beginning with a comma, and files with purely numeric names.
All others will produce error messages.
Rmf of a read-only folder will delete the cur- entry from
the profile without affecting the folder itself.
Your .mh_profile can contain the following entries:
Path: To determine the user's MH directory
Current-Folder: To find the default current folder
Rmf has the following defaults:
+folder defaults to current, usually with
confirmation
Rmf will set the current folder to the parent folder if a
subfolder is removed; or, if the current folder is removed,
it will make inbox current. Otherwise, it doesn't change
the current folder or message.
Printed 4/6/89 1
RMF(1MH) COMMAND REFERENCE RMF(1MH)
OPTIONS
-help Displays a synopsis of the rmf command.
EXAMPLES
This example removes the folder Check and all the MH files
under it. Check has three files under it that are not a
part of MH; these are not removed.
rmf +Check
FILES
$HOME/.mh_profile The user profile
SEE ALSO
comp(1mh), folder(1mh), forw(1mh), inc(1mh), mail(1mh),
next(1mh), pick(1mh), prev(1mh), prompter(1mh), refile(1mh),
repl(1mh), rmf(1mh), rmm(1mh), scan(1mh), send(1mh), and
show(1mh).
Printed 4/6/89 2
%%index%%
na:264,71;
sy:335,222;
de:557,2353;
op:3246,212;
ex:3458,300;
fi:3758,125;
se:3883,551;
%%index%%000000000121