Copy, Table 6. file extensions and file types – Allied Telesis AT-S63 User Manual

Page 188

Advertising
background image

Chapter 13: File System Commands

188

Section II: Advanced Operations

COPY

Syntax

copy [cflash:]

sourcefile.ext

[cflash:]

destinationfile.ext

Parameters

sourcefile.ext

Specifies the name of the source file. If the file is

stored on a compact memory flash card, precede
the name with “cflash:”. If the filename contains
spaces, enclose it in double quotes. Otherwise, the
quotes are optional.

destinationfile.ext

Specifies the name of the destination file. To store

the copy on a compact memory flash card, precede
the name with “cflash:”. If the filename contains
spaces, enclose in double quotes. Otherwise, the
quotes are optional.

Description

This command creates a copy of an existing file. It also copies files
between the switch’s file system and a compact flash memory card, for
those switches that support the card.

Note the following before using this command:

ˆ

This command does not accept a directory path. When copying a file
to or from a compact flash card, you must first change to the
appropriate directory on the card. For instructions, refer to “SET
CFLASH DIR” on page 196.
The default location is the root of the flash
card.

ˆ

Files with the extension UKF are encryption key pairs. These files
cannot be copied, renamed, or deleted from the file system.

ˆ

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 types listed
in Table 6. You must give the copy the same extension as the original
file.

Table 6. File Extensions and File Types

Extension

File Type

.cfg

Configuration file

Advertising