mcopy - copy MSDOS files to/from Unix
mcopy [-tnvmoOsSrRA] sourcefile targetfile
mcopy [-tnvmoOsSrRA] sourcefile ... targetdirectory
mcopy [-tnvm] MSDOSsourcefile
Mcopy copies the specified file to the named file, or copies multiple
files to the named directory. The source and target can be either MSDOS
or Unix files.
The use of a drive letter designation on the MSDOS files, 'a:' for
example, determines the direction of the transfer. A missing drive
designation implies a Unix file whose path starts in the current
directory. If a source drive letter is specified with no attached file
name (e.g. "mcopy a: ."), all files are copied from that drive.
If only a single, MSDOS source parameter is provided (e.g. "mcopy
a:foo.exe"), an implied destination of the current directory (".") is
A filename of "-" means standard input or standard output, depending on
its position on the command line.
Mcopy will allow the following command line options:
-t Text file transfer. Mcopy will translate incoming carriage
return/line feeds to line feeds.
-n No warning. Mcopy will not warn the user when overwriting an
-v Verbose mode.
-m Preserve the file modification time. (This is the default under
If the target file already exists, and the -n option is not in effect,
mcopy asks whether to overwrite the file or to rename the new file (see
mtools(1) for details).
mread(1), mwrite(1), mtools(1).
Unlike MSDOS, the '+' operator (append) from MSDOS is not supported.