1 .TH FILE 1 "3 August 1983"
4 file \- file message(s) in (an)other folder(s)
6 file [ \-src +folder ] [ msgs ] [ \-link ] [ \-preserve ] +folder ...
7 [ \-nolink] [ \-nopreserve ]
8 [ \-file file ] [ \-nofile ] [ \-help ]
10 \fIFile\fR moves (\fImv\fR(1)) or links (\fIln\fR(1)) messages from a
11 source folder into one or more destination folders.
13 of a message as a sheet of paper, this operation is not
14 unlike filing the sheet of paper (or copies) in file cabinet
16 When a message is filed, it is linked into the
17 destination folder(s) if possible, and is copied otherwise.
19 as the destination folders are all on the same file system, multiple filing
20 causes little storage overhead.
21 This facility provides a good way to cross-file or multiply-index
23 For example, if a message is received from Jones about
24 the ARPA Map Project, the command
27 file\0cur\0+jones\0+Map
30 would allow the message to be found in either of the two
31 folders `jones' or `Map'.
33 The option `\-file file' directs \fIfile\fR to use the specified
34 file as the source message to be filed, rather than a message from
37 If a destination folder doesn't exist, \fIfile\fR will ask if you
39 A negative response will abort the file
42 `\-link' preserves the source folder copy of the message
43 (i.e., it does a \fIln\fR(1) rather than a \fImv\fR(1)), whereas,
44 `\-nolink' deletes the \*(lqfiled\*(rq messages from the source
46 Normally, when a message is filed, it is assigned the
47 next highest number available in each of the destination folders.
48 Use of the `\-preserve' switch will override this message
49 \*(lqrenaming\*(rq, but name conflicts may occur, so
50 use this switch cautiously.
51 (See \fIpick\fR for more details on
54 If `\-link' is not specified (or `\-nolink' is specified),
55 the filed messages will be removed (
57 from the source folder.
59 If `\-src +folder' is given, it will become the
60 current folder for future MH commands.
61 If neither `\-link' nor
62 `all' are specified, the current message in the source
63 folder will be set to the last message specified; otherwise, the
64 current message won't be changed.
67 .ta \w'$HOME/\*.mh\(ruprofile 'u
68 $HOME/\*.mh\(ruprofile The user profile
70 .SH "PROFILE COMPONENTS"
72 .ta \w'Folder\-Protect: 'u
73 Path: To determine the user's MH directory
74 Current-Folder: To find the default current folder
75 Folder\-Protect: To set mode when creating a new folder
79 `\-src +folder' defaults to the current folder
80 `msgs' defaults to cur
86 If `\-src +folder' is given, it will become the
87 current folder for future MH commands.
88 If neither `\-link' nor
89 `all' are specified, the current message in the source
90 folder will be set to the last message specified; otherwise, the
91 current message won't be changed.