Alcatel-Lucent OmniSwitch 6850-48 Cli Reference Manual page 3541

Alcatel-lucent omniswitch 6850-48: reference guide
Hide thumbs Also See for OmniSwitch 6850-48:
Table of Contents

Advertisement

File Management Commands
cp
Copies an existing file. This command can also copy a directory if the -r keyword is used.
cp [-r] [path/]orig_filename [dest_path/]dupl_filename
Syntax Definitions
-r
path/
orig_filename
dest_path/
dupl_filename
Defaults
N/A
Platforms Supported
OmniSwitch 6400, 6850, 6850E, 6855, 9000E
Usage Guidelines
You should verify that your switch's /flash directory has enough available memory to hold the new
files and directories that will result from using the cp -r command.
A file may be copied to a new location; you are not required to copy a file to the same directory that
contains the original.
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.
OmniSwitch CLI Reference Guide
Syntax that recursively copies directories, as well as any associated
subdirectories and files. Be sure to include a space between the syntax
cp and -r (i.e., cp -r).
Specifies the path containing the original file to be copied. If no path
name is specified, the command assumes the current path.
The name of the existing file to be copied.
Specifies the destination path for the resulting file copy. If no destina-
tion path is specified, the file copy will be placed in the current path.
The new user-defined file name for the resulting file copy. If you are
copying a file to the same directory as the original, the file name for the
copy must be different from the original. Up to thirty-two (32) charac-
ters may be used.
June 2012
page 58-19

Advertisement

Table of Contents
loading

Table of Contents