2.11BSD/local/man/cat1/mcopy.0




MCOPY(1)            UNIX Programmer's Manual             MCOPY(1)



NAME
     mcopy - copy MSDOS files to/from Unix

SYNOPSIS
     mcopy [ -tnvm ] sourcefile targetfile

     mcopy [ -tnvm ] sourcefile [ sourcefiles... ] targetdirec-
     tory

DESCRIPTION
     _M_c_o_p_y copies the specified file to the named file, or copies
     multiple files to the named directory.  The source and tar-
     get 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

     _M_c_o_p_y will allow the following command line options:

     t    Text file transfer.  _M_c_o_p_y will translate incoming car-
          riage return/line feeds to line feeds.

     n    No warning.  _M_c_o_p_y will not warn the user when
          overwriting an existing file.

     v    Verbose mode.

     m    Preserve the file modification time.

     If the target file already exists, and the -_n option is not
     in effect, _m_c_o_p_y asks whether or not to overwrite the file.

     MSDOS subdirectory names are supported with either the '/'
     or '\' separator.  The use of the '\' separator or wildcards
     will require the names to be enclosed in quotes to protect
     them from the shell.

     The _m_c_d command may be used to establish the device and the
     current working directory (relative to MSDOS), otherwise the
     default is A:/.

SEE ALSO
     mcd(1), mread(1), mwrite(1)

BUGS
     Unlike MSDOS, the destination directory may not be omitted.

     The '+' operator (append) from MSDOS is not supported.





Printed 11/24/99              local                             1






MCOPY(1)            UNIX Programmer's Manual             MCOPY(1)



     No other _M_t_o_o_l_s command requires the use of a drive letter
     designation on MSDOS files.





















































Printed 11/24/99              local                             2