]> diplodocus.org Git - nmh/blob - docs/historical/2.9BSD/man/rmf.1
Added test of encoded Resent-To: and Resent-cc:.
[nmh] / docs / historical / 2.9BSD / man / rmf.1
1 .TH RMF 1 "3 August 1983"
2 .UC 4
3 .SH NAME
4 rmf \- remove folder
5 .SH SYNOPSIS
6 .B rmf
7 [ +folder ] [ \-help ]
8 .SH DESCRIPTION
9 \fIRmf\fR removes all of the files (messages) within the specified
10 (or default) folder, and then removes the directory (folder).
11 If
12 there are any files within the folder which are not a part of MH,
13 they will \fInot\fR be removed, and an error will be produced.
14 If the
15 folder is given explicitly or the current folder is a
16 subfolder (i.e., a selection list from \fIpick\fR), it will be
17 removed without confirmation.
18 If no argument is specified and
19 the current folder is not a selection-list folder, the
20 user will be asked for confirmation.
21 .PP
22 \fIRmf\fR irreversibly deletes messages that don't have other links,
23 so use it with caution.
24 .PP
25 If the folder being removed is a subfolder, the parent
26 folder will become the new current folder, and \fIrmf\fR will
27 produce a message telling the user this has happened.
28 This
29 provides an easy mechanism for selecting a set of messages,
30 operating on the list, then removing the list and returning to
31 the current folder from which the list was extracted.
32 (See the
33 example under \fIpick\fR.)
34 .PP
35 The files that \fIrmf\fR will delete are cur, any file beginning
36 with a comma, and files with purely numeric names.
37 All others
38 will produce error messages.
39 .PP
40 \fIRmf\fR of a read-only folder will delete the \*(lqcur\-\*(rq entry from the
41 profile without affecting the folder itself.
42 .SH FILES
43 .nf
44 .ta \w'or <mh-dir>/components 'u
45 .fi
46 .SH "PROFILE COMPONENTS"
47 .nf
48 .ta \w'$HOME/\*.mh\(ruprofile 'u
49 $HOME/\*.mh\(ruprofile The user profile
50 Path: To determine the user's MH directory
51 Current-Folder: To find the default current folder
52 .fi
53 .SH DEFAULTS
54 .nf
55 `+folder' defaults to current, usually with confirmation
56 .fi
57 .SH CONTEXT
58 \fIRmf\fR will set the current folder to the parent folder if a
59 subfolder is removed; or if the current folder is removed,
60 it will make \*(lqinbox\*(rq current.
61 Otherwise, it doesn't change the
62 current folder or message.