
mcopy | 285
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
Options
-/ When listing attributes, descend into all subdirectories
recursively.
-X Concise output.
-p Display commands for mformat that can reproduce the
current attributes and settings for a given disk.
mbadblocks
mbadblocks drive
Check MS-DOS filesystems for bad blocks. See badblocks and
mtools. As with other mtools items, the drive is named with a
letter rather than as a Unix device.
mcat
mcat [option] drive
Dump raw data, especially for a disk image on a remote floppy
accessed through the floppyd tool. See cat and mtools for more
information. The only option accepted, -w, accepts data from stdin
and writes it to the given device.
mcd
mcd [dosdir]
Change to the specified directory on an MS-DOS disk. With no
directory specified, display the current device and directory. See cd
and mtools for more information.
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 spec-
ified and written to a target directory.
Options
The mcopy option flags differ from the flags passed to the Unix cp
command. The flags are:
-t Convert Unix line breaks to MS-DOS line breaks and vice
versa when copying text files.
-b Operate in batch mode; use for large copies of data.
-s Copy recursively. ...