1PACKF(1)                    General Commands Manual                   PACKF(1)
2
3
4

NAME

6       packf - pack messages in nmh folder into a single file
7

SYNOPSIS

9       packf [-help] [-version] [+folder] [msgs] [-file name] [-mbox] [-mmdf]
10

DESCRIPTION

12       packf will pack copies of messages from a folder, into a single file.
13
14       If the -mbox switch is given (the default), then the messages are sepa‐
15       rated using mbox (uucp) style delimiters.  This is the format  used  by
16       most mail clients (elm, mailx, etc.).
17
18       If  the  -mmdf switch is given, then the messages are separated by mmdf
19       style delimiters.  Each message  in  the  file  is  separated  by  four
20       CTRL-A's and a newline.
21
22       You may specify the name of the file in which to pack messages with the
23       -file name switch.  If you do not specify the name of the file, it will
24       default to “msgbox”.
25
26       If  the  given file name points to an existing file, then the specified
27       messages will be appended to the end of the file,  otherwise  the  file
28       will be created and the messages appended.
29
30       packf  makes an mbox-style delimiter by examining the first line of the
31       message.  If the first line is a “Return-Path” field, its  address  and
32       the  current  date and time are used.  Otherwise, if the first line has
33       an “X-Envelope-From” field, its contents (which should  already  be  in
34       the  correct format) are used.  Otherwise, a dummy address and the cur‐
35       rent date and time are used.
36
37       Messages that are packed by packf can be unpacked using inc.
38

FILES

40       $HOME/.mh_profile          The user profile
41

PROFILE COMPONENTS

43       Path:                To determine the user's nmh directory
44       Current-Folder:      To find the default current folder
45       Msg-Protect:         To set mode when creating a new `file'
46

SEE ALSO

48       inc(1),
49

DEFAULTS

51       `+folder' defaults to the current folder
52       `msgs' defaults to all
53       `-mbox'
54       `-file ./msgbox'
55

CONTEXT

57       If a folder is given, it will become the  current  folder.   The  first
58       message packed will become the current message.
59
60
61
62nmh-1.7.1                         1999-05-13                          PACKF(1)
Impressum