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 de‐
13 fault) 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 be‐
24 come the new current folder, and rmf will produce a message telling the
25 user this has happened. This provides an easy mechanism for selecting
26 a set of messages, operating on the list, then removing the list and
27 returning to the current folder, from which the list was extracted.
28
29 If rmf is used on a read-only folder, it will delete all the private
30 sequences (i.e., .RI “atr- seq - folder ” entries) for this folder from
31 your context without affecting the folder itself.
32
33 rmf irreversibly deletes messages that don't have other links, so use
34 it with caution.
35
37 $HOME/.mh_profile The user profile
38
40 Path: To determine the user's nmh directory
41 Current-Folder: To find the default current folder
42 Inbox: To find the default inbox
43
45 folder(1), rmm(1)
46
48 `+folder' defaults to the current folder, usually with confirmation
49 `-interactive' if +folder' not given, `-nointeractive' otherwise
50
52 rmf will set the current folder to the parent folder if a subfolder is
53 removed; or if the current folder is removed, it will make “inbox” cur‐
54 rent. Otherwise, it doesn't change the current folder or message.
55
57 Although intuitively one would suspect that rmf works recursively, it
58 does not. Hence, if you have a sub-folder within a folder, in order to
59 rmf the parent, you must first rmf each of the children.
60
61
62
63nmh-1.8 1999-04-30 RMF(1)