1PACKF(1)                     [nmh-1.2-20070115cvs]                    PACKF(1)
2
3
4

NAME

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

SYNOPSIS

9       packf [+folder] [msgs] [-file name] [-mbox] [-mmdf] [-version] [-help]
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 use with the -file
23       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
39

FILES

41       $HOME/.mh_profile          The user profile
42       .msgbox.map                A binary index of the file
43
44

PROFILE COMPONENTS

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

SEE ALSO

52       inc(1)
53
54

DEFAULTS

56       `+folder' defaults to the current folder
57       `msgs' defaults to all
58       `-mbox'
59       `-file ./msgbox'
60
61

CONTEXT

63       If a folder is given, it will become the  current  folder.   The  first
64       message packed will become the current message.
65
66
67
68MH.6.8                            1 Jul 2003                          PACKF(1)
Impressum