138
|
1 <refentry id="rename">
|
|
2 <refnamediv>
|
|
3 <refname>RENAME</refname>
|
|
4 <refpurpose>Change file name</refpurpose>
|
|
5 </refnamediv>
|
|
6
|
|
7 <refsynopsisdiv>
|
|
8 <cmdsynopsis>
|
|
9 <command>RENAME</command>
|
|
10 <arg choice="plain">
|
|
11 &replstart;path&replend;
|
|
12 </arg>
|
|
13 <arg choice="plain">
|
|
14 &replstart;new name&replend;
|
|
15 </arg>
|
|
16 </cmdsynopsis>
|
|
17 </refsynopsisdiv>
|
|
18
|
|
19 <refsect1><title>Description</title>
|
|
20 <para>
|
|
21 Gives the mass storage file specified in the pathlist a new name.
|
|
22 The user must have write permission for the file to change its name.
|
|
23 It is not possible to change the names of devices, ".", or
|
|
24 ".."
|
|
25 </para>
|
|
26 </refsect1>
|
|
27 <refsect1><title>Examples</title>
|
|
28 <literallayout>
|
|
29 rename blue purple
|
|
30
|
|
31 rename /D3/user9/test temp
|
|
32 </literallayout>
|
|
33
|
|
34 <screen>
|
|
35 OS9: dir
|
|
36
|
|
37 Directory of . 16:22:53
|
|
38 myfile animals
|
|
39
|
|
40 OS9:rename animals cars
|
|
41 OS9:dir
|
|
42
|
|
43 Directory of . 16:23:22
|
|
44 myfile cars
|
|
45 </screen>
|
|
46 </refsect1>
|
|
47 </refentry>
|
|
48
|