Deleting directories and files in Midnight Commander
Midnight Commander prompts you before deleting directories and files. You can delete a directory and the files and subdirectories within it. You can delete multiple files simultaneously by tagging the files to delete.
To delete directories or files, you need write permission for the directory that contains the item you want to delete.
To delete a directory
1. In the working directory, choose the directory to delete.
2. Click File, Delete.
3. At the Delete prompt, choose one of the following options:
Yes to delete the directory
No to cancel the deletion
Note
If the directory you want to delete contains files or subdirectories, Midnight Commander prompts you to delete the entire directory. Click Yes to delete the directory and all its contents.
To delete a file
1. In the working directory, choose the files to delete.
2. Click File, Delete.
3. At the Delete prompt, choose one of the following options:
Yes to delete all the selected files
No to cancel the deletion
Tip
You can also delete a directory or file by choosing the directory or file, and clicking the Delete function key, or pressing F8.