24. File System Management Commands
202
24.6. rename
Description
This command is used to rename a file in the file system. The pathname specifies the
file (in path form) to be renamed and the file name specifies the new file name. If the
path name is not a full path, then it refers to a path under the current directory for
the drive. The renamed file will stay in the same directory.
Format
rename {{unit <unit_id>} <drive_id>} <pathname> <filename>
Parameters
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To rename a file or directory:
unit
Specifies the unit ID in the stacking system. If not specified, it refers to the master unit.
<unit_id>
Enter the unit ID value here.
<drive_id>
Specifies the drive ID. If not specified, it refers to the current drive.
<pathname>
Specify the file (in path form) to be renamed.
<filename>
Specify the new name of the file.
Zxxx0:admin#rename run.rom run1.rom
Command: rename run.rom run1.rom
Success.
Zxxx0:admin#
Summary of Contents for ZEQUO 2200
Page 3: ...3 ...
Page 86: ...7 ARP Commands 86 ...
Page 93: ...9 Auto Configuration Commands 93 ...
Page 273: ...30 IPv6 NDP Commands 273 ...
Page 330: ...36 LLDP Commands 330 ...
Page 361: ...39 MAC based Access Control Commands 361 ...
Page 461: ...49 Protocol VLAN Commands 461 ...
Page 483: ...50 QoS Commands 483 ...
Page 504: ...53 SNMPv1 v2 v3 Commands 504 Only Administrator level users can issue this command ...
Page 523: ...53 SNMPv1 v2 v3 Commands 523 ...
Page 562: ...57 Subnet VLAN Commands 562 ...