mcopy

Hurricane Electric Internet Services: Accounts starting at $9.95/month
Hurricane Electric Internet Services

NAME

       mcopy - copy MSDOS files to/from Unix


SYNOPSIS

       mcopy [ -tnvmoOsSrRA ] sourcefile targetfile

       mcopy  [ -tnvmoOsSrRA ] sourcefile [ sourcefiles... ] tar-
       getdirectory

       mcopy [ -tnvm ] MSDOSsourcefile


DESCRIPTION

       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 trans-
       fer.  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 assumed.

       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 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, mcopy asks whether to overwrite the file or
       to rename the new  file  (see  the  mtools.1  manpage  for
       details).


SEE ALSO

       mtools(1), mread(1), mwrite(1)


BUGS

       Unlike  MSDOS, the '+' operator (append) from MSDOS is not
       supported.
Hurricane Electric Internet Services: Accounts starting at $9.95/month
Hurricane Electric Internet Services
Copyright (C) 1998 Hurricane Electric. All Rights Reserved.