mcopy
mcopy功能说明:复制MS-DOS文件。
语 法:mcopy [-bnmpQt/][源文件][目标文件或目录]
补充说明:mcopy为mtools工具指令,可在MS-DOS文件系统中复制文件或是在MS-DOS与Linux的文件系统之间复制文件。mcopy会MS-DOS磁盘驱动器代号出现的位置来判断如何复制文件。
参 数:
-b 批处理模式。
-n 覆盖其他文件时,不需进行确认而直接覆盖。
-m 将源文件修改时间设为目标文件的修改时间。
-p 将源文件属性设为目标文件的属性。
-Q 复制多个文件时,若发生错误,则立即结束程序。
-t 转换文本文件。
-/ 复制子目录以及其中的所有文件。
mcopy
mcopy [options] sourcefile target
Copy files between Unix and MS-DOS format partitions. See cp and mtools for more information. Multiple source files can be specified and written to a target directory.
Options
The mcopy option flags differ from the flags passed to the Unix cp command. The flags are:
Convert Unix line breaks to MS-DOS line breaks and vice versa when copying text files.
Operate in batch mode; use for large copies of data.
Copy recursively.
Preserve attributes of copied files.
When copying multiple files, if one copy fails, stop. Useful if you think you may run out of disk space.
Assume that all incoming files are ASCII and convert carriage return/line feed to plain line feed.
Convert line breaks as with -a, but also convert PC-8 characters to ISO-8859-1 characters. Replace untranslatable characters with # or
. for Unix and DOS respectively.
Do not ask for confirmation when overwriting Unix files.
Turn off confirmation for overwriting DOS files.
Preserve file modification time.
Display the names of files as they are copied.
Specify the action to take if the specified directory name already exists. See mmd for the possible clash options.