RMF(1m,C) AIX Commands Reference RMF(1m,C)
-------------------------------------------------------------------------------
rmf
PURPOSE
Removes a folder.
SYNTAX
+------------+ +--- -interactive ---+
rmf --| |---| one of |---|
+- + folder -+ | +----------------+ |
+-| -interactive |-+
| -nointeractive |
+----------------+
rmf -- -help --|
Warning: See restrictions, Chapter 18, AIX Programming Tools and Interfaces.
DESCRIPTION
The rmf command is used to remove folders and the messages that they contain.
rmf is part of the Message Handling (MH) 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 of 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.
Processed November 8, 1990 RMF(1m,C) 1
RMF(1m,C) AIX Commands Reference RMF(1m,C)
-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
See the MH command "rmm."
See the mh-profile file in AIX Operating System Technical Reference.
See "Overview of the Message Handling Package" in Managing the AIX Operating
System.
Processed November 8, 1990 RMF(1m,C) 2