Selects and lists folders and messages.
folder [ + Folder ] [ Message ] [ -all ] [ -nopack | -pack ] [ -nofast | -fast ] [ -norecurse | -recurse ] [ -print | -noprint ] [ -header | -noheader ] [ -nototal | -total ] [ -push | -pop ] [ -list | -nolist ]
The folder command sets the current folder and the current message for that folder, and lists information about your folders. By default, the folder command lists the current folder name, the number of messages, the range of the message numbers, and the current message.
The folder specified by the +Folder flag becomes the current folder. The message specified by the Message parameter becomes the current message for the folder. Use the -pack flag to renumber the messages in a folder.
The following entries are entered in the UserMhDirectory/.mh_profile file:
folder
The system responds with a message similar to the following:
inbox+ has 80 messages (1-82); cur = 7; (others).
In this example, the current folder is inbox.The folder contains 80 messages, ranging from message 1 to message 82. The current message number is 7.
Folder # of messages (range); cur msg (other files) inbox+ has 80 messages (1-82); cur= 7; (others). test has 5 messages (1-5); cur= 5; (others). Total= 85 messages in 2 folders
In this example, there are 2 folders containing a total of 85 messages. The current folder is inbox, indicated by the + (plus sign) that follows it.
test+ has 5 messages (1-5); cur = 5; (others)
folder 2
The system responds with a message similar to the following:
test+ has 5 messages (1-5); cur = 2; (others)
Create folder "/home/dawn/Mail/group"? _
Enter:
yes
The system responds with a message similar to the following:
group+ has no messages.
inbox+ has 80 messages (1-80); cur= 7; (others).
In this example, the messages are renumbered to eliminate gaps in the message numbering after messages have been deleted.
$HOME/.mh_profile | Contains the MH user profile. |
/usr/bin/folder | Contains the folder command. |
The folders command, mhpath command, packf command, refile command.
The mh_alias file format, mh_profile file format.
Mail Overview in AIX 5L Version 5.2 System User's Guide: Communications and Networks.