Alcatel-Lucent 6850-48 Guida Di Riferimento
File Management Commands
page 7-14
OmniSwitch CLI Reference Guide
September 2009
rename
Renames an existing file or directory.
rename [path/]old_name [path/]new_name
Syntax Definitions
path/
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.
tory to be renamed. If no path is specified, the command assumes the
current directory.
old_name
The name of the existing file or directory to be renamed.
new_name
The new user-defined file or directory name. Up to thirty-two (32) char-
acters may be used.
acters may be used.
Defaults
N/A
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 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.