home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / diskutil / mtools / readme < prev    next >
Encoding:
Text File  |  1993-08-05  |  2.5 KB  |  69 lines

  1.                 MTOOLS
  2.                   version 2.0
  3.  
  4. Mtools is a public domain collection of programs to allow Unix systems
  5. to read, write, and manipulate files on an MSDOS filesystem (typically a
  6. diskette).
  7.  
  8. The following MSDOS commands are emulated:
  9.  
  10. Mtool         MSDOS
  11. name        equivalent    Description
  12. -----        ----        -----------
  13. mattrib        ATTRIB        change MSDOS file attribute flags
  14. mcd        CD        change MSDOS directory
  15. mcopy        COPY        copy MSDOS files to/from Unix
  16. mdel        DEL/ERASE    delete an MSDOS file
  17. mdir        DIR        display an MSDOS directory
  18. mformat        FORMAT        add MSDOS filesystem to a low-level format
  19. mlabel        LABEL        make an MSDOS volume label.
  20. mmd        MD/MKDIR    make an MSDOS subdirectory
  21. mrd        RD/RMDIR    remove an MSDOS subdirectory
  22. mread        COPY        low level read (copy) an MSDOS file to Unix
  23. mren        REN/RENAME    rename an existing MSDOS file
  24. mtype        TYPE        display contents of an MSDOS file
  25. mwrite        COPY        low level write (copy) a Unix file to MSDOS
  26.  
  27. You should be able to just close your eyes and pretend you're on an MSDOS
  28. system.  Everything should work the same... except for the added 'm' at
  29. the beginning of each command.
  30.  
  31. I really wanted to avoid the use of a 'text' mode and a 'data' mode when
  32. transferring files, but I couldn't find a better way.  It gets rather
  33. confusing and it's quite possible to mess up a file if you apply the
  34. text mode when it is not appropriate (ie:  to a COM or EXE file).
  35.  
  36. The pattern matching routine more closely resembles Unix than MSDOS.
  37. For example, "*" matches all MSDOS files in lieu of "*.*".
  38.  
  39. The use of wildcards (or the '\' separator) will require the names to be
  40. enclosed in quotes to protect them from the shell.  For example:
  41.  
  42.     RIGHT:    mcopy "a:*.c" .
  43.  
  44.     will copy all files on the A: disk with the extension .C to the
  45.     current Unix directory.
  46.  
  47.     WRONG:    mcopy a:*.c .
  48.  
  49.     will cause the shell to expand a:*.c in the current Unix directory
  50.     (which is probably not what you wanted) then copy that list of
  51.     files (if there were any) from A: to the current Unix directory.
  52.  
  53.     RIGHT:    mcopy *.c a:
  54.  
  55.     will copy all files with the extension .c in the current Unix
  56.     directory to the A: drive.  (This time you *want* the shell
  57.     the expand the *.c).
  58.  
  59. The manuals are very terse...  it's assumed that the reader is already
  60. familiar with MSDOS.
  61.  
  62. Mcopy is really a front-end to the low level Mread and Mwrite commands.
  63.  
  64. Emmet P. Gray                US Army, HQ III Corps & Fort Hood
  65. ...!uunet!uiucuxc!fthood!egray        Attn: AFZF-DE-ENV
  66. fthood!egray@uxc.cso.uiuc.edu        Directorate of Engineering & Housing
  67.                     Environmental Management Office
  68.                     Fort Hood, TX 76544-5057
  69.