home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / SRC / msdos_diskaccess.lzh / MS_DISK_ACCESS / Mread.1 < prev    next >
Text File  |  1990-05-10  |  1KB  |  52 lines

  1. .TH MREAD 1 local
  2. .SH NAME
  3. mread \- low level read (copy) a MSDOS file to Unix
  4. .SH SYNOPSIS
  5. .B mread
  6. [
  7. .B -tnm
  8. ] msdosfile unixfile
  9. .PP
  10. .B mread
  11. [
  12. .B -tnm
  13. ] msdosfile [ msdosfiles... ] unixdirectory
  14. .SH DESCRIPTION
  15. In the first form,
  16. .I mread
  17. copies the specified MSDOS file to the named Unix file.  The second form
  18. of the command copies multiple MSDOS files to the named Unix directory.
  19. MSDOS sub directories are supported with either the '/' or '\e\'
  20. separator.  The use of the '\e\' separator or wildcards will require the
  21. names to be enclosed in quotes to protect them from the shell.
  22. .PP
  23. .I Mread
  24. will allow the following command line options:
  25. .TP
  26. .B t
  27. Text file transfer.
  28. .I Mread
  29. will translate incoming carriage return/line feeds to line feeds.
  30. .TP
  31. .B n
  32. No warning.
  33. .I Mread
  34. will not warn the user when overwriting an existing file.
  35. .TP
  36. .B m
  37. Preserve the file modification times.
  38. .PP
  39. If the target file already exists, and the
  40. .I -n
  41. option is not in effect,
  42. .I mread
  43. asks whether or not to overwrite the file.
  44. .PP
  45. The environmental variable MCWD may be used to establish a current
  46. working directory (relative to the MSDOS diskette).
  47. .SH SEE ALSO
  48. mcopy(1), mdir(1), mtype(1), mwrite(1)
  49. .SH BUGS
  50. Wildcards are only applied to filenames, not to directory names.
  51. Unlike MSDOS, the destination directory may not be omitted.
  52.