LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

mrd

removes directories from MS-DOS filesystems

TLDR

Remove directory from mtools disk
$ mrd [a:/dirname]
copy
Remove from specific drive
$ mrd [b:/path/to/dir]
copy
Verbose output
$ mrd -v [a:/dirname]
copy

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
copy
sudo dnf install mtools
copy
sudo pacman -S mtools
copy
sudo apk add mtools
copy
sudo zypper install mtools
copy
brew install mtools
copy
nix profile install nixpkgs#mtools
copy

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.

SEE ALSO

mmd(1), mcopy(1), mdel(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid