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 / Mwrite.1 < prev    next >
Text File  |  1990-05-10  |  2KB  |  62 lines

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