blob: 70c40e9daccc1caf550489140471de8fb9005207 [file] [log] [blame]
Alistair Delvabeaee832021-02-24 11:27:23 -08001'\" t
Yi Kong39bbd962022-01-09 19:41:38 +08002.TH mren 1 "08Jan22" mtools-4.0.37
Alistair Delvabeaee832021-02-24 11:27:23 -08003.SH Name
4mren - rename an existing MSDOS file
5'\" t
6.de TQ
7.br
8.ns
9.TP \\$1
10..
11
12.tr \(is'
13.tr \(if`
14.tr \(pd"
15
16.SH Note\ of\ warning
17This manpage has been automatically generated from mtools's texinfo
18documentation, and may not be entirely accurate or complete. See the
19end of this man page for details.
20.PP
21.SH Description
22.PP
23The \fR\&\f(CWmren\fR command is used to rename or move an existing MS-DOS
24file or subdirectory. Its syntax is:
25.PP
26.ft I
27.nf
28\&\fR\&\f(CWmren\fR [\fR\&\f(CW-voOsSrRA\fR] \fIsourcefile\fR \fItargetfile\fR
29.fi
30.ft R
31
32.PP
33\&\fR\&\f(CWMren\fR
34renames an existing file on an MS-DOS file system.
35.PP
36In verbose mode, \fR\&\f(CWMren\fR displays the new filename if the name
37supplied is invalid.
38.PP
39If the first syntax is used (only one source file), and if the target
40name doesn't contain any slashes or colons, the file (or subdirectory)
41is renamed in the same directory, instead of being moved to the current
42\&\fR\&\f(CWmcd\fR directory as would be the case with \fR\&\f(CWmmove\fR. Unlike the
43MS-DOS version of \fR\&\f(CWREN\fR, \fR\&\f(CWmren\fR can be used to rename
44directories.
45.PP
46.SH See\ Also
47Mtools' texinfo doc
48.SH Viewing\ the\ texi\ doc
49This manpage has been automatically generated from mtools's texinfo
50documentation. However, this process is only approximative, and some
51items, such as crossreferences, footnotes and indices are lost in this
52translation process. Indeed, these items have no appropriate
53representation in the manpage format. Moreover, not all information has
54been translated into the manpage version. Thus I strongly advise you to
55use the original texinfo doc. See the end of this manpage for
56instructions how to view the texinfo doc.
57.TP
58* \ \
59To generate a printable copy from the texinfo doc, run the following
60commands:
61
62.nf
63.ft 3
64.in +0.3i
65 ./configure; make dvi; dvips mtools.dvi
66.fi
67.in -0.3i
68.ft R
69.PP
70
71\&\fR
72.TP
73* \ \
74To generate a html copy, run:
75
76.nf
77.ft 3
78.in +0.3i
79 ./configure; make html
80.fi
81.in -0.3i
82.ft R
83.PP
84
85\&\fRA premade html can be found at
86\&\fR\&\f(CW\(ifhttp://www.gnu.org/software/mtools/manual/mtools.html\(is\fR
87.TP
88* \ \
89To generate an info copy (browsable using emacs' info mode), run:
90
91.nf
92.ft 3
93.in +0.3i
94 ./configure; make info
95.fi
96.in -0.3i
97.ft R
98.PP
99
100\&\fR
101.PP
102The texinfo doc looks most pretty when printed or as html. Indeed, in
103the info version certain examples are difficult to read due to the
104quoting conventions used in info.
105.PP