Copy – Allied Telesis AT-S62 User Manual
Page 195
AT-S62 Command Line User’s Guide
195
COPY
Syntax
copy “filename1.ext” “filename2.ext”
Parameters
filename1.ext
Specifies the name of the file to be copied. If
the name contains spaces, it must be
enclosed in double quotes. Otherwise, the
quotes are optional.
filename2.ext
Specifies the name of the copy. If the name
contains spaces, it must be enclosed in
double quotes. Otherwise, the quotes are
optional.
Description
This command creates a copy of an existing file. The new filename must
be a valid filename from 1 to 15 alphanumeric characters. The name of
the copy must be unique from all other files in the file system.
ext is the three-letter file extension, and can be any of the following file
types: “.cer”, “.cfg”, “.key” and “.csr”. You must give the copy the same
extension as the original file.
Note
You cannot copy files with a “.ukf” extension.
Example
The following command creates a copy of the configuration file
“admin.cfg” and names the copy “admin2.cfg”:
copy admin.cfg admin2.cfg
The following command creates a copy of the configuration file “switch
12.cfg” and names the copy “backup.cfg”:
copy “switch 12.cfg” backup.cfg