Cisco Cisco ASR 5700
Exec Mode Commands (D-S)
rename ▀
Command Line Interface Reference, StarOS Release 17 ▄
4139
[ file: ]{ /flash | /usb1 | /hd }[ /directory ]/file_name
Important:
Use of the SMC hard drive is not supported in this release.
directory
is the directory name
filename
is the actual file of interest
-noconfirm
Executes the command without any additional prompt and confirmation from the user.
Caution:
Extreme caution should be taken when using the
-noconfirm
option. The paths to the source and the
destination should be verified prior to performing the command.
Usage
Rename files as part of regular system maintenance in conjunction with the delete command.
Example
The following renames the directory
/pub
in the local PCMCIA1 device.
rename /pcmcia1/pub /pcmcia1/pub_old
The following renames the directory
/pub
in the local USB device.
rename /usb1/pub /usb1/pub_old