PACKF(1m,C) AIX Commands Reference PACKF(1m,C) ------------------------------------------------------------------------------- packf PURPOSE Compresses the contents of a folder into a file. SYNTAX +-----------+ +-------- all ---------------------------------+ packf ---| |---| +----------- all --------------------------+ |---> +- +folder -+ +-| +------------ sequence ------------+ |-+ +---| one of |---+ ^ | +-------+ +------------------+ | | | +-| num |---| one of |-+ | | | first | |1+--------------+ | | | | prev | +-| :num -prev |-+ | | | cur | | :+num -cur | | | | . | | :-num -. | | | | next | | -num -next | | | | last | | -first -last | | | +-------+ +--------------+ | +--------------------------------------+ +- -file ./msgbox -+ >---| |---| +--- -file file ---+ packf --- -help ---| ----------------- 1 Do not put a blank between these items. DESCRIPTION The packf command is used to move messages from a folder and compress those messages into a single file. You can unpack packed messages by using the inc command. packf is part of the Message Handling (MH) package and can be used with other MH and AIX commands. The packf command takes the specified messages from the specified folder and appends them to the specified file. If the file does not exist, packf displays a prompt that asks if you want to create the file. If you want to create the file, packf creates the file and places the messages in the file. packf separates each message with four Ctrl-A characters and a Newline character. Processed July 12, 1991 PACKF(1m,C) 1 PACKF(1m,C) AIX Commands Reference PACKF(1m,C) FLAGS -file file Places the messages at the end of the specified file. If file does not exist, packf asks you if you want to create the file. If you want to create the file, packf creates file The default file is ./msgbox. +foldermsgs Specifies the messages that you want to pack. msgs can be several messages, a range of messages, or a single message. You can use the following message references when specifying foldermsgs: num first prev cur . next last all sequence The default is all of the messages in the current folder. If several messages are specified, the first message packed becomes the current message. -help Displays help information for the command. PROFILE ENTRIES Current-Folder: Sets your default current folder. Msg-Protect: Sets the protection level for your new message files. Path: Specifies your user_mh_directory. FILES $HOME/.mh_profile The MH user profile. RELATED INFORMATION See the MH command "inc." See the mh-profile file in AIX Operating System Technical Reference. See "Overview of the Message Handling Package" in Managing the AIX Operating System. See Chapter 18 of the AIX Programming Tools and Interfaces for general information on using commands in an MBCS environment. Processed July 12, 1991 PACKF(1m,C) 2