Linux mtools command
The Linux mtools command is used to display the commands supported by mtools.
mtools is a utility program for the MS-DOS file system that can emulate many MS-DOS commands. These commands are all symbolic links of mtools, so they share some common characteristics.
Syntax
mtools
Parameter Description:
- -a Automatically change the long file name of the target file when a long file name is duplicated.
- -A Automatically change the short file name of the target file when a short file name is duplicated but the long file names differ.
- -o When a long file name is duplicated, overwrite the existing file with the target file.
- -O When a short file name is duplicated but the long file names differ, overwrite the existing file with the target file.
- -r When a long file name is duplicated, ask the user to change the long file name of the target file.
- -R When a short file name is duplicated but the long file names differ, ask the user to change the short file name of the target file.
- -s When a long file name is duplicated, do not process the target file.
- -S When a short file name is duplicated but the long file names differ, do not process the target file.
- -v Display detailed information during execution.
- -V Display version information.
Example
Display the MS-DOS commands supported by the mtools package.
Entering mtools directly at the command prompt displays the MS-DOS commands it supports, as shown below:
$ mtools #显示所支持的MS-DOS命令
Supported commands: #命令列表
mattrib, mbadblocks, mcat, mcd, mclasserase, mcopy, mdel, mdeltree
mdir, mdoctorfat, mdu, mformat, minfo, mlabel, mmd, mmount
mpartition, mrd, mread, mmove, mren, mshowfat, mtoolstest, mtype
mwrite, mzip
Linux Command Reference