Manual Page Result
0
Command: packf | Section: 1 | Source: Digital UNIX | File: packf.1.gz
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 ]
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 spec-
ify a +folder argument, that folder will become the current folder.
When messages have been packed into a file using packf, you can sepa-
rate them into individual messages using the burst command. See
burst(1).
FLAGS
-file name
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. Other-
wise, 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.
-help 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 ./msgbox
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
PROFILE COMPONENTS
tab(+); l l. Path:+To determine the user's Mail directory Msg-Pro-
tect:+To set protections when creating a new file
FILES
tab(+); l l. $HOME/.mh_profile+The user profile.
RELATED INFORMATION
burst(1) delim off
packf(1)