rename
Renames an existing file or directory.
rename [path/]old_name [path/]new_name
Syntax Definitions
path/
old_name
new_name
Defaults
N/A
Platforms Supported
OmniSwitch 6400, 6850, 6850E, 6855, 9000E
Usage Guidelines
•
Be sure to separate path directories and file names with a slash (/). Refer to the examples below.
•
Up to 255 characters may be used for a fully qualified path.
•
A path can contain up to a maximum of seven (7) directories including /flash.
•
As with files names, up to thirty-two (32) characters may be used for a directory name.
•
File and directory names can include only the following character types: a-z, A-Z, 0-9, dashes (-),
dots (.), and underscores (_).
•
This command can also be used on the secondary CMM.
Examples
-> rename flash/working/asc.1.snap new_file
Release History
Release 6.1; command was introduced.
page 58-14
Specifies the particular path (i.e., location) containing the file or direc-
tory to be renamed. If no path is specified, the command assumes the
current directory.
The name of the existing file or directory to be renamed.
The new user-defined file or directory name. Up to thirty-two (32) char-
acters may be used.
File Management Commands
OmniSwitch CLI Reference Guide
June 2012