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




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



NAME
     mread - low level read (copy) an MSDOS file to Unix

SYNOPSIS
     mread [ -tnm ] msdosfile unixfile

     mread [ -tnm ] msdosfile [ msdosfiles... ] unixdirectory

DESCRIPTION
     In the first form, _m_r_e_a_d copies the specified MSDOS file to
     the named Unix file.  The second form of the command copies
     multiple MSDOS files to the named Unix directory.

     _M_r_e_a_d will allow the following command line options:

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

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

     m    Preserve the file modification times.

     If the target file already exists, and the -_n option is not
     in effect, _m_r_e_a_d 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), mcopy(1), mtype(1), mwrite(1)

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















Printed 11/24/99              local                             1