1RMF(1) [nmh-1.3] RMF(1)
2
3
4
6 rmf - remove an nmh folder
7
9 rmf [+folder] [-interactive | -nointeractive] [-version] [-help]
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 find the current folder, for
20 some reason, the folder to be removed defaults to `+inbox' (unless
21 overridden by 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 s used on a read-only folder, it will delete all the (private)
31 sequences (i.e., “atr-seq-folder” entries) for this folder from your
32 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
37
39 $HOME/.mh_profile The user profile
40
41
43 Path: To determine the user's nmh directory
44 Current-Folder: To find the default current folder
45 Inbox: To find the default inbox
46
47
49 rmm(1)
50
51
53 `+folder' defaults to the current folder, usually with confirmation
54 `-interactive' if +folder' not given, `-nointeractive' otherwise
55
56
58 Rmf will set the current folder to the parent folder if a subfolder is
59 removed; or if the current folder is removed, it will make “inbox” cur‐
60 rent. Otherwise, it doesn't change the current folder or message.
61
62
64 Although intuitively one would suspect that rmf works recursively, it
65 does not. Hence if you have a sub-folder within a folder, in order to
66 rmf the parent, you must first rmf each of the children.
67
68
69
70MH.6.8 1 June 2008 RMF(1)