Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mscopy(1) — UTek W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

msdir(1)

mslabel(1)

msedit(1)

cp(1)



MSCOPY(1)               COMMAND REFERENCE               MSCOPY(1)



NAME
     mscopy - copy files between ms-dos and unix

SYNOPSIS
     mscopy [ -a ] [ -b ] source dest

DESCRIPTION
     The command mscopy copies source to dest, where at least one
     of the two is on an ms-dos filesystem.  Dest may be a
     directory, in which case the filename defaults to the source
     filename.  Filenames for ms-dos files take the form

     devname:filename

     where devname is the name of the device or file containing
     an ms-dos filesystem, and filename is the name of the ms-dos
     file within the filesystem.  Wildcards are allowed in msdos
     names if escaped -- but note that these are shell-type
     wildcards, i.e.  *.* does NOT match FOO.

OPTIONS
     Ms-dos text files have a somewhat different structure than
     UNIX text files.  The program decides to translate between
     file formats by looking at

          (1)  The -a or -b flags, which will force the program
          to believe all files copied are object or ascii
          respectively.

          (2)  If the source file is ms-dos, and the extension is
          one of .COM, .EXE, .OBJ, the file will be considered an
          object file.

          (3)  If the source file is a unix file, and the first
          sector appears to be non-text, the file will be
          considered an object file.

          (4)  If none of the above hold true, treat the source
          as a textfile.

EXAMPLES
     mscopy garble /dev/floppy:image.txt

     copies the unix file garble to the ms-dos file image.txt on
     the ms-dos filesystem /dev/floppy, making its best guess as
     to whether garble is a text file.

     mscopy -a foo:* .

     copies all the files on the ms-dos filesystem foo into the
     current directory, treating them all as text files.  Note
     that backslash is not shown preceding the asterisk, although



Printed 7/4/87                                                  1





MSCOPY(1)               COMMAND REFERENCE               MSCOPY(1)



     it would probably be necessary.  Also note that 'foo:*.*'
     will NOT copy all files, only those with extensions.

RETURN VALUE
     [NO_ERRS]      Command completed without error.

     [USAGE]        Incorrect command line syntax. Execution
                    terminated.

     [NP_WARN]      An error warranting a warning message
                    occurred. Execution continues.

     [NP_ERR]       An error occurred that was not a system
                    error.  Execution terminated.

CAVEATS
     If a text or object file appears garbled, try forcing the
     copy to happen in the correct mode with -a or -b
      .

SEE ALSO
     msdir(1), mslabel(1), msedit(1), cp(1).

































Printed 7/4/87                                                  2





































































%%index%%
na:72,79;
sy:151,176;
de:327,786;
op:1113,806;
ex:1919,688;2751,136;
rv:2887,448;
ca:3335,200;
se:3535,174;
%%index%%000000000141

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026