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