LinuxCommandLibrary

mdeltree

deletes directories from MS-DOS filesystems

TLDR

Delete directory tree

$ mdeltree [a:dirname]
copy
Delete multiple directories
$ mdeltree [a:dir1] [a:dir2]
copy
Verbose output
$ mdeltree -v [a:dirname]
copy

SYNOPSIS

mdeltree [options] directories

DESCRIPTION

mdeltree deletes directories from MS-DOS filesystems. It removes directories and all contents.
The tool is part of mtools. It's the MS-DOS equivalent of rm -rf for FAT filesystems.

PARAMETERS

DIRECTORIES

Directories to delete on MS-DOS disk.
-v
Verbose output.
--help
Display help information.

CAVEATS

Part of mtools. FAT filesystem only. Recursively deletes all contents.

HISTORY

mdeltree is part of mtools, providing MS-DOS deltree functionality on Unix systems.

SEE ALSO

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

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community