packf(1) General Commands Manual packf(1)
NAME
packf - compress a folder into a single file (only available within the message handling system, mh)
SYNOPSIS
packf [+folder] [msgs] [-file name] [-help]
OPTIONS
Specifies the file in which you want the message(s) to be stored. If you specify an existing file then the specified messages will be
appended to the end of that file. Otherwise, a new file will be created and the messages placed in it. If you do not specify a filename,
packf attempts to place the messages in a file called msgbox in the current working directory. If this file does not exist, packf asks
whether you want to create it. Prints a list of the valid options to this command.
The default settings for this command are:
+folder defaults to the current folder msgs defaults to all -file
DESCRIPTION
Each message in a folder is normally stored as a separate file. The packf command takes all messages from the current folder and copies
them to a single specified file. Each message in the file is separated by four <CTRL/A>s and a newline.
You can specify a folder other than the current folder by using the +folder argument. If you do not want all the messages in a folder to be
packed into one file, you can specify a number of messages or a range of messages with message numbers.
The first message packed will become the current message. If you specify a +folder argument, that folder will become the current folder.
When messages have been packed into a file using packf, you can separate them into individual messages using the burst command. See
burst(1).
PROFILE COMPONENTS
Path: To determine the user's Mail directory
Msg-Protect: To set protections when creating a new file
EXAMPLES
The first example shows all the messages in the folder +lrp being packed into a file called planning: % packf +lrp -file planning The next
example shows how packf prompts you if you do not specify a -file option. A file called msgbox is created by packf in your home directory,
and messages 3 to 5 are packed into it: % packf +lrp 3-5 Create file "/machine/disk/username/msgbox"? y
FILES
The user profile.
SEE ALSO
burst(1)
packf(1)