1RMF(1) General Commands Manual RMF(1)
2
3
4
6 rmf - remove an nmh folder
7
9 rmf [-help] [-version] [+folder] [-interactive | -nointeractive]
10
12 rmf removes all of the messages (files) within the specified (or
13 default) folder, and then removes the folder (directory) itself.
14
15 If there are any files within the folder which are not a part of nmh,
16 they will not be removed, and an error will be produced. If the folder
17 is given explicitly, or the -nointeractive option is given, then the
18 folder will be removed without confirmation. Otherwise, the user will
19 be asked for confirmation. If rmf can't, for some reason, find the
20 current folder the folder to be removed defaults to `+inbox' (unless
21 overridden by the user's profile entry “Inbox”), with confirmation.
22
23 If the folder being removed is a subfolder, the parent folder will
24 become the new current folder, and rmf will produce a message telling
25 the user this has happened. This provides an easy mechanism for
26 selecting a set of messages, operating on the list, then removing the
27 list and returning to the current folder, from which the list was
28 extracted.
29
30 If rmf is used on a read-only folder, it will delete all the private
31 sequences (i.e., .RI “atr- seq - folder ” entries) for this folder from
32 your context without affecting the folder itself.
33
34 rmf irreversibly deletes messages that don't have other links, so use
35 it with caution.
36
38 $HOME/.mh_profile The user profile
39
41 Path: To determine the user's nmh directory
42 Current-Folder: To find the default current folder
43 Inbox: To find the default inbox
44
46 folder(1), rmm(1)
47
49 `+folder' defaults to the current folder, usually with confirmation
50 `-interactive' if +folder' not given, `-nointeractive' otherwise
51
53 rmf will set the current folder to the parent folder if a subfolder is
54 removed; or if the current folder is removed, it will make “inbox” cur‐
55 rent. Otherwise, it doesn't change the current folder or message.
56
58 Although intuitively one would suspect that rmf works recursively, it
59 does not. Hence, if you have a sub-folder within a folder, in order to
60 rmf the parent, you must first rmf each of the children.
61
62
63
64nmh-1.7.1 1999-04-30 RMF(1)