Copy, Syntax, Parameters – Allied Telesis AT-S63 User Manual

Page 162: Description, Examples

Advertising
background image

Chapter 13: File System Commands

162

COPY

Syntax

copy [flash:|cflash:]

sourcefile.ext

[flash:|cflash:]

destinationfile.ext

Parameters

sourcefile.ext

Specifies the name of the source file.

destinationfile.ext

Specifies the name of the destination file.

Description

This command creates a copy of an existing file. The new filename must
be a valid filename from 1 to 16 alphanumeric characters. The name of the
copy must be unique from the 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.

You can also specify the location of the file, either in flash memory (flash:)
or on a compact flash card (cflash:). The default is flash memory.

Note

You cannot copy files with a “.ukf” extension.

Examples

The following command creates a copy of the configuration file “admin.cfg”
and names the copy “admin2.cfg” in flash memory:

copy admin.cfg admin2.cfg

The following command creates a copy of the configuration file “switch
12.cfg” and names the copy “backup.cfg” in flash memory:

copy "switch 12.cfg" backup.cfg

The following command copies the configuration file “9408switches” from
flash memory to a compact flash card:

copy 9408switches.cfg cflash:9408switches.cfg

Advertising