31. File System Management Commands
375
31.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#
Содержание ZEQUO 6400
Страница 158: ...12 Basic IP Commands 159 Zxxx0 admin config ipif System vlan v1 Command config ipif System vlan v1 Success Zxxx0 admin ...
Страница 160: ...12 Basic IP Commands 161 ...
Страница 189: ...17 Command Logging Command List 190 ...
Страница 554: ...49 MAC based Access Control Commands 555 ...
Страница 644: ...58 Network Monitoring Commands 645 Zxxx0 admin clear attack_log Command clear attack_log Success Zxxx0 admin ...
Страница 812: ...69 QoS Commands 813 ...
Страница 839: ...73 SNMPv1 v2 v3 Commands 840 Only Administrator level users can issue this command ...
Страница 962: ...85 Virtual Router Redundancy Protocol VRRP Command List 963 ...
Страница 1050: ...91 System Log Lists 1051 ...