Unix and Linux Discussions Tagged with folder |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
67,679 |
Shell Programming and Scripting |
|
|
|
2 |
4,141 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
4,602 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
3,805 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
3,339 |
UNIX for Beginners Questions & Answers |
|
|
|
19 |
15,755 |
Shell Programming and Scripting |
|
|
|
2 |
4,434 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
6,004 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
21,884 |
Windows & DOS: Issues & Discussions |
|
|
|
9 |
3,700 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,134 |
UNIX for Beginners Questions & Answers |
|
|
|
0 |
2,549 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
4,692 |
Shell Programming and Scripting |
|
|
|
11 |
6,806 |
Shell Programming and Scripting |
|
|
|
3 |
7,160 |
Ubuntu |
|
|
|
8 |
12,572 |
Ubuntu |
|
|
|
3 |
5,713 |
UNIX for Beginners Questions & Answers |
|
|
|
13 |
2,944 |
Shell Programming and Scripting |
|
|
|
2 |
2,454 |
Shell Programming and Scripting |
|
|
|
4 |
1,626 |
Shell Programming and Scripting |
|
|
|
2 |
2,472 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
1,385 |
Shell Programming and Scripting |
|
|
|
6 |
6,009 |
Shell Programming and Scripting |
|
|
|
7 |
3,711 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
11,557 |
Shell Programming and Scripting |
|
|
|
4 |
4,710 |
Shell Programming and Scripting |
|
|
|
2 |
4,590 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,754 |
Red Hat |
|
|
|
7 |
11,229 |
Shell Programming and Scripting |
|
|
|
0 |
3,556 |
Red Hat |
|
|
|
1 |
19,153 |
Shell Programming and Scripting |
|
|
|
4 |
3,594 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
9,811 |
Shell Programming and Scripting |
|
|
|
1 |
7,794 |
Shell Programming and Scripting |
|
|
|
11 |
22,699 |
Shell Programming and Scripting |
|
|
|
8 |
19,815 |
Shell Programming and Scripting |
|
|
|
2 |
4,145 |
SuSE |
|
|
|
6 |
3,115 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
7,825 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
6,352 |
Shell Programming and Scripting |
rmf(1mh) rmf(1mh)
Name
rmf - remove folder
Syntax
rmf [ +folder ] [ -help ] [ -[no]interactive ]
Description
The command removes all of the messages within the current folder, and then removes the folder itself. If there are any files within the
folder which are not part of MH, they are not removed, and an error message is displayed.
You can specify a folder other than the current folder by using the +folder argument. If you do not specify a folder, and cannot find the
current folder, asks you whether you want to delete instead.
If the current folder is removed, it makes current.
Note that the command irreversibly deletes messages that do not have other links, so use it with caution.
If the folder being removed is a sub-folder, the parent folder becomes the new current folder, and tells you that this has happened. This
provides an easy mechanism for selecting a set of messages, operating on the list, then removing the list and returning to the current
folder from which the list was extracted.
Using to delete a read-only folder deletes the private sequence and current message information from the file, without affecting the folder
itself. If you have sub-folders within a folder, you must delete all the sub-folders before you can delete the folder itself.
Options
-help Prints a list of the valid options to this command.
-interactive
-nointeractive
Asks for confirmation before deleting a folder. By default, deletes a folder and its messages without asking for confirmation.
If you specify the -interactive option, asks if you are sure before deleting the folder. You are advised to use this option,
since when deletes a folder its contents are lost irretrievably.
Examples
This example shows how asks for confirmation when the -interactive option is used:
% rmf -interactive +test
Remove folder "test"? y
Profile Components
Path: To determine the user's Mail directory
Files
The user profile.
See Also
rmm(1mh)
rmf(1mh)