PACKF(1)
π PACKF(1) β the pack-ur-messages-into-one-file girlie π
okay so bestie, we're in the General Commands Manual section, and this page is about packf. it's giving β¨ archivist β¨ and honestly? she ate.
β¨ NAME β¨
packf β pack messages in nmh folder into a single file. that's it. that's the whole job. π
πΈ SYNOPSIS πΈ
packf [-help] [-version] [+folder] [msgs] [-file name] [-mbox] [-mmdf]
like... look at her. iconic lineup fr fr π
π¦ DESCRIPTION π¦
so packf will pack copies of messages from a folder, into a single file. copies!! ur originals stay safe at home, no cap π«Ά
If the -mbox switch is given (and yes, that's the default), then the messages are separated using mbox (uucp) style delimiters. this is the format used by most mail clients (elm, mailx, etc.) β so like, the popular girl of mail formats π
If the -mmdf switch is given, then the messages are separated by mmdf style delimiters. Each message in the file is separated by four CTRL-A's and a newline. four of them!! a whole little CTRL-A squad π
You may specify the name of the file in which to pack messages with the -file name switch. If you do not specify the name of the file, it will default to msgbox. (so cute, so demure.)
If the given file name points to an existing file, then the specified messages will be appended to the end of the file, otherwise the file will be created and the messages appended. either way bestie, they're getting appended π
packf makes an mbox-style delimiter by examining the first line of the message. so:
- If the first line is a
Return-Pathfield, its address and the current date and time are used. β - Otherwise, if the first line has an
X-Envelope-Fromfield, its contents (which should already be in the correct format) are used. π¦ - Otherwise, a dummy address and the current date and time are used. π
Messages that are packed by packf can be unpacked using inc. so it's reversible. the way that she's fully circular... main character energy π
π FILES π
$HOME/.mh_profileβ The user profile
π PROFILE COMPONENTS π
Path:β To determine the user's nmh directoryCurrent-Folder:β To find the default current folderMsg-Protect:β To set mode when creating a newfile
π₯ SEE ALSO π₯
π DEFAULTS π
+folderdefaults to the current foldermsgsdefaults to all-mbox-file ./msgbox
π CONTEXT π
If a folder is given, it will become the current folder. The first message packed will become the current message. tiny side quest, big consequences β¨
heads up bestie: -mbox is the default, so if you're out here wanting mmdf delimiters, you gotta say it. no assumptions, no vibes-based delimiters π
and that's the whole page, babe. this one's from nmh-1.8, dated 1999-05-13 β vintage but still serving, fr fr. π«Άπβ¨
π¦ where this page comes from
- alpine 3.24: nmh-doc 1.8-r3 Β· BSD-3-Clause
- epel 10: nmh 1.8-3.el10_1 Β· BSD
- epel 9: nmh 1.8-1.el9 Β· BSD
- fedora 43: nmh 1.8-9.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: nmh 1.8-10.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms