System information

35
How to work with files
How to copy files
Within a
directory
To copy a file within the same directory, enter Privileged Exec mode and enter the command:
awplus#copy <source-filename> <destination-filename>
If the file already exists, the switch asks whether to overwrite it, with a message like this:
Overwrite flash:/example.cfg? (y/n)[n]:
To overwrite, press the “y” key then the Enter key.
Between
directories
To copy a file to another directory within the same file system, enter the command:
awplus#copy <source-filename> <directory-name>/
The / after the directory name is required. Otherwise the switch displays an error
(“37: Destination file is a directory”).
The switch then prompts you for the destination filename. To give the copy a new name, type
the name at the prompt. You can include directory names in the path.
To use the same filename as the original, press the Enter key (do not press the “y” key—that
names the copy “y”).
Example To put a copy of example.cfg into the example directory, enter the command:
awplus#copy example.cfg example/
The prompt and messages look like this:
Copying within a file system
Enter destination file name [example.cfg]:
Copying from source file, please wait...
Copying to destination file, please wait...
0: Successful operation