{
    "content": [
        {
            "type": "text",
            "text": "# rmf(1) (man)\n\n**Summary:** rmf - remove an nmh folder\n\n**Synopsis:** rmf [-help] [-version] [+folder] [-interactive | -nointeractive]\n\n## See Also\n\n- folder(1)\n- rmm(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (21 lines)\n- **FILES** (2 lines)\n- **PROFILE COMPONENTS** (4 lines)\n- **SEE ALSO** (2 lines)\n- **DEFAULTS** (3 lines)\n- **CONTEXT** (4 lines)\n- **BUGS** (7 lines)\n\n## Full Content\n\n### NAME\n\nrmf - remove an nmh folder\n\n### SYNOPSIS\n\nrmf [-help] [-version] [+folder] [-interactive | -nointeractive]\n\n### DESCRIPTION\n\nrmf  removes  all  of the messages (files) within the specified (or default) folder, and then\nremoves the folder (directory) itself.\n\nIf there are any files within the folder which are not a part of nmh, they will  not  be  re‐\nmoved,  and an error will be produced.  If the folder is given explicitly, or the -nointerac‐‐\ntive option is given, then the folder will be removed without confirmation.   Otherwise,  the\nuser  will be asked for confirmation.  If rmf can't, for some reason, find the current folder\nthe folder to be removed defaults to `+inbox' (unless overridden by the user's profile  entry\n“Inbox”), with confirmation.\n\nIf  the  folder  being  removed is a subfolder, the parent folder will become the new current\nfolder, and rmf will produce a message telling the user this has happened.  This provides  an\neasy mechanism for selecting a set of messages, operating on the list, then removing the list\nand returning to the current folder, from which the list was extracted.\n\nIf rmf is used on a read-only folder, it will delete all the  private  sequences  (i.e.,  .RI\n“atr-  seq - folder ” entries) for this folder from your context without affecting the folder\nitself.\n\nrmf irreversibly deletes messages that don't have other links, so use it with caution.\n\n### FILES\n\n$HOME/.mhprofile          The user profile\n\n### PROFILE COMPONENTS\n\nPath:                To determine the user's nmh directory\nCurrent-Folder:      To find the default current folder\nInbox:               To find the default inbox\n\n### SEE ALSO\n\nfolder(1), rmm(1)\n\n### DEFAULTS\n\n`+folder' defaults to the current folder, usually with confirmation\n`-interactive' if +folder' not given, `-nointeractive' otherwise\n\n### CONTEXT\n\nrmf will set the current folder to the parent folder if a subfolder is  removed;  or  if  the\ncurrent  folder  is  removed, it will make “inbox” current.  Otherwise, it doesn't change the\ncurrent folder or message.\n\n### BUGS\n\nAlthough intuitively one would suspect that rmf works recursively, it does  not.   Hence,  if\nyou have a sub-folder within a folder, in order to rmf the parent, you must first rmf each of\nthe children.\n\n\n\nnmh-1.7.1                                    1999-04-30                                     RMF(1mh)\n\n"
        }
    ],
    "structuredContent": {
        "command": "rmf",
        "section": "1",
        "mode": "man",
        "summary": "rmf - remove an nmh folder",
        "synopsis": "rmf [-help] [-version] [+folder] [-interactive | -nointeractive]",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "folder",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/folder/1/json"
            },
            {
                "name": "rmm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/rmm/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 21,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "PROFILE COMPONENTS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DEFAULTS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "CONTEXT",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 7,
                "subsections": []
            }
        ]
    }
}