Compresses the contents of a folder into a file.
packf [ +Folder ] [ Messages ] [ -file File ]
The packf command compresses the messages in a folder into a specified file. By default, the packf command compresses messages from the current folder and places them in the msgbox file. If the file does not exist, the system prompts you for permission to create it. Each message in the file is separated with four Ctrl-A characters and a new-line character.
Note: You can use the inc command to unpack compressed messages.
|-file File||Specifies the file in which to put compressed messages. The default is the ./msgbox file. If the file exists, the packf command appends the messages to the end of the file. Otherwise, the system prompts you for permission to create the file.|
|+Folder||Identifies the folder containing the messages you want to pack.|
|-help||Lists the command syntax, available switches (toggles), and version information.|
|Messages|| Specifies what messages to pack. The Messages parameter can specify several messages, a range of messages, or a single message. If several messages are specified, the first message packed becomes the current message. Use the following references to specify messages:
The following entries are entered in the UserMhDirectory/.mh_profile file:
|Current-Folder:||Sets your default current folder.|
|Msg-Protect:||Sets the protection level for your new message files.|
|Path:||Specifies the user's MH directory.|
packf -file scheduleThe system responds with a message similar to the following:
Create file "/home/mary/schedule"?Enter y to create the file.
packf +test 3-7The system responds with the shell prompt when the command is complete.
packf cur first last
|$HOME/.mh_profile||Specifies the MH user profile.|
|/usr/bin/packf||Contains the packf command.|
The inc command.
The mh_alias file format, mh_profile file format.
Mail Overview in AIX Version 4.3 System User's Guide: Communications and Networks.
Peek, Jerry. MH and xmh: E-mail for Users and Programmers. Sebastopol, CA: O'Reilly & Associates, 1992.