rmf
PURPOSE
Removes a folder.
SYNOPSIS
rmf [+folder][-interactive][-nointeractive][-help]
DESCRIPTION
The rmf command is used to remove folders and the mes-
sages that they contain. rmf is part of the MH (Message
Handling) package and can be used with other MH and AIX
commands.
Warning: The rmf command irreversibly deletes messages
that do not have other links.
The rmf command deletes all of the messages within the
specified folder and then deletes the folder. If the
folder contains files that are not messages, rmf does not
delete those files and reports an error.
If you have read-only access to the specified folder, rmf
does not delete the folder or any of its messages. rmf
deletes only your private sequences and your current
message information from the profile.
The rmf command does not delete folders recursively.
Thus, you cannot remove subfolders by requesting the
removal a parent folder.
FLAGS
+folder Specifies the folder to be removed. If
you remove a subfolder, the parent of
that folder becomes the current folder.
If you remove the current folder, +inbox
becomes current. The default folder is
the current folder. If +folder is not
specified and rmf cannot find the current
folder, rmf requests confirmation for
removing +inbox.
-help Displays help information for the
command.
-interactive Requests confirmation before removing the
folder. If +folder is not specified,
this is the default.
-nointeractive Removes the folder and its messages
without requesting confirmation. If
+folder is specified, this is the
default.
PROFILE ENTRIES
Current-Folder: Sets your default current folder.
Path: Specifies your user_mh_directory.
FILES
$HOME/.mh_profile The MH user profile.
RELATED INFORMATION
The MH command "rmm."
The mh-profile file in AIX Operating System Technical
Reference.
The "Overview of the Message Handling Package" in Man-
aging the AIX Operating System.