Linux mtools Command
The Linux mtools command is used to display the instructions supported by mtools.
mtools is a tool program for the MS-DOS file system, which can simulate many MS-DOS commands. These commands are symbolic links to mtools, so they share some common features.
Syntax
mtools
Parameter Description:
-a Automatically change the long file name of the target file when it is duplicated.
-A Automatically change the short file name of the target file when the short file name is duplicated but the long file name is different.
-o Overwrite the existing file with the target file when the long file name is duplicated.
-O Overwrite the existing file with the target file when the short file name is duplicated but the long file name is different.
-r Prompt the user to change the long file name of the target file when it is duplicated.
-R Prompt the user to change the short file name of the target file when the short file name is duplicated but the long file name is different.
-s Do not process the target file when the long file name is duplicated.
-S Do not process the target file when the short file name is duplicated but the long file name is different.
-v Display detailed explanations during execution.
-V Display version information.
Example
Display the MS-DOS commands supported by the mtools package.
By simply entering mtools at the command prompt, it will display the supported MS-DOS commands, as shown below:
$ mtools # Display supported MS-DOS commands
Supported commands: # Command list
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