LinuxCommandLibrary

mdel

deletes files from MS-DOS filesystems

TLDR

Delete file from MS-DOS disk

$ mdel [a:file.txt]
copy
Delete multiple files
$ mdel [a:*.bak]
copy
Verbose output
$ mdel -v [a:file.txt]
copy
Delete directory contents
$ mdel [a:dirname/*]
copy

SYNOPSIS

mdel [options] files

DESCRIPTION

mdel deletes files from MS-DOS filesystems. It's part of the mtools package.
The tool removes files from FAT filesystems without mounting. Works with floppies and USB drives.

PARAMETERS

FILES

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

CAVEATS

Part of mtools. FAT filesystem only. Cannot delete directories.

HISTORY

mdel is part of mtools, a collection of utilities for accessing MS-DOS disks from Unix.

SEE ALSO

mcopy(1), mdeltree(1), mdir(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community