English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The Linux mread command is used to copy MS-Copy DOS files to Linux/Unix directory.
mread is a command of the mtools utility, which can copy MS-Copy DOS files to the Linux file system. This command is not commonly used anymore, and is generally replaced by the mcopy command.
mread [MS-DOS file...][Linux file or directory]
Parameter description:
Use the mread command to copy all contents from the disk "a:\" to the current working directory, input the following command:
$ mread a:\* ./ #Copy all files on drive a to the current working directory
Before executing this command, you can first use the mdir command to view the original directory structure. After executing mread, you can use the ls command to view the file structure after copying, as shown below:
$ mdir -/ a:\* #View files in drive a Volume in drive A has no label #Loading information Volume Serial Number is 13D2~055C Directory for A:/ #The following is directory information ./TEST <DIR> 2011-08-23 16:59 #Display format as filename, directory size, modification time AUTORUN.INF 265 2011-08-23 16:53 AUTORUN.BAT 43 2011-08-23 16:56 3 files 308 bytes #Total size 724 325 bytes free #Remaining space $ mread A:\* ./ #Copy all files on drive a to the current working directory $ ls #View file or subdirectory information TEST AUTORUN.INF AUTORUN.BAT #Display the copied content