mrd
removes directories from MS-DOS filesystems
TLDR
Remove directory from mtools disk
$ mrd [a:/dirname]
Remove from specific drive$ mrd [b:/path/to/dir]
Verbose output$ mrd -v [a:/dirname]
SYNOPSIS
mrd [-v] msdosdirectory [msdosdirectories...]
DESCRIPTION
mrd removes directories from MS-DOS filesystems. It's part of the mtools package. An error occurs if the directory does not exist or is not empty. Multiple directories can be specified on the command line.The tool deletes directories on FAT drives. Works without mounting the filesystem.
PARAMETERS
MSDOSDIRECTORY
MS-DOS directory to remove.-v
Verbose mode.-V
Display the version of mtools.
INSTALL
sudo apt install mtools
sudo dnf install mtools
sudo pacman -S mtools
sudo apk add mtools
sudo zypper install mtools
brew install mtools
nix profile install nixpkgs#mtools
CAVEATS
Part of mtools. Directory must be empty. MS-DOS/FAT filesystems only.
HISTORY
mrd is part of mtools, providing MS-DOS filesystem access on Unix systems since 1992.
