{
    "mode": "man",
    "parameter": "PACKF",
    "section": "1mh",
    "url": "https://www.chedong.com/phpMan.php/man/PACKF/1mh/json",
    "generated": "2026-07-05T15:55:20Z",
    "synopsis": "packf [-help] [-version] [+folder] [msgs] [-file name] [-mbox] [-mmdf]",
    "sections": {
        "NAME": {
            "content": "packf - pack messages in nmh folder into a single file\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "packf [-help] [-version] [+folder] [msgs] [-file name] [-mbox] [-mmdf]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "packf will pack copies of messages from a folder, into a single file.\n\nIf the -mbox switch is given (the default), then the messages are separated using mbox (uucp)\nstyle delimiters.  This is the format used by most mail clients (elm, mailx, etc.).\n\nIf the -mmdf switch is given, then the messages are separated by mmdf style delimiters.  Each\nmessage in the file is separated by four CTRL-A's and a newline.\n\nYou  may  specify  the name of the file in which to pack messages with the -file name switch.\nIf you do not specify the name of the file, it will default to “msgbox”.\n\nIf the given file name points to an existing file, then the specified messages  will  be  ap‐\npended to the end of the file, otherwise the file will be created and the messages appended.\n\npackf makes an mbox-style delimiter by examining the first line of the message.  If the first\nline is a “Return-Path” field, its address and the current date and time  are  used.   Other‐\nwise, if the first line has an “X-Envelope-From” field, its contents (which should already be\nin the correct format) are used.  Otherwise, a dummy address and the current  date  and  time\nare used.\n\nMessages that are packed by packf can be unpacked using inc.\n",
            "subsections": []
        },
        "FILES": {
            "content": "$HOME/.mhprofile          The user profile\n",
            "subsections": []
        },
        "PROFILE COMPONENTS": {
            "content": "Path:                To determine the user's nmh directory\nCurrent-Folder:      To find the default current folder\nMsg-Protect:         To set mode when creating a new `file'\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "inc(1),\n",
            "subsections": []
        },
        "DEFAULTS": {
            "content": "`+folder' defaults to the current folder\n`msgs' defaults to all\n`-mbox'\n`-file ./msgbox'\n",
            "subsections": []
        },
        "CONTEXT": {
            "content": "If  a  folder is given, it will become the current folder.  The first message packed will be‐\ncome the current message.\n\n\n\nnmh-1.7.1                                    1999-05-13                                   PACKF(1mh)",
            "subsections": []
        }
    },
    "summary": "packf - pack messages in nmh folder into a single file",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "inc",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/inc/1/json"
        }
    ]
}