386BSD 0.1 development
[unix-history] / usr / othersrc / public / mtools-2.0.5 / man / man1 / mwrite.1
CommitLineData
7de55399
WJ
1.TH MWRITE 1 local
2.SH NAME
3mwrite \- 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
15In the first form,
16.I mwrite
17copies the specified Unix file to the named MSDOS file. The second form
18of the command copies multiple Unix files to the named MSDOS directory.
19.PP
20.I Mwrite
21will allow the following command line options:
22.TP
23.B t
24Text file transfer.
25.I Mwrite
26will translate incoming line feeds to carriage return/line feeds.
27.TP
28.B n
29No warning.
30.I Mwrite
31will not warn the user when overwriting an existing file.
32.TP
33.B v
34Verbose mode. Display the new filename if the Unix filename requires
35conversion.
36.TP
37.B m
38Preserve the file modification times.
39.PP
40If the target file already exists, and the
41.I -n
42option is not in effect,
43.I mwrite
44asks whether or not to overwrite the file.
45.PP
46Reasonable care is taken to create a valid MSDOS filename. If an
47invalid name is specified,
48.I mwrite
49will change the name (and display the new name if the verbose mode is
50set).
51.PP
52MSDOS subdirectory names are are supported with either the '/' or '\e\'
53separator. The use of the '\e\' separator or wildcards will require the
54names to be enclosed in quotes to protect them from the shell.
55.PP
56The
57.I mcd
58command may be used to establish the device and the current working
59directory (relative to MSDOS), otherwise the default is A:/.
60.SH SEE ALSO
61mcd(1), mcopy(1), mread(1)
62.SH BUGS
63Unlike MSDOS, the destination directory may
64.B not
65be omitted.