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.

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)

Copied to clipboard
Kai