3com 8807 Reference Guide

Page of 1099
972
C
HAPTER
 57: F
ILE
 S
YSTEM
 M
ANAGEMENT
 C
OMMANDS
fileurl-dest: Destination file name.
Description
Use the copy command to copy a file.
You can use this command to copy a file from current directory to another 
directory, or vise versa. Where, the source filename must be the name of a file that 
has already existed in the specified directory, and the destination filename can be 
changed as required. When the destination filename is the same as that of an 
existing file, the system will ask whether to overwrite it.
Example
# Copy the file test.txt and saves it as test.bak.
<SW8800> copy test.txt test.bak
 
Copy flash:/test/test.txt to flash:/test/test.bak ? [Y/N]:
 
% Copyed file flash:/test/test.txt flash:/test/test.bak 
delete
Syntax
delete [ /unreserved ] file-url
View
User view
Parameter
/unreserved: Delete the file completely.
file-url: Path and name of the file you want to delete.
Description
Use the delete command to cancel a specified file from the storage device of the 
switch.
This command supports wildcard characters. The deleted files are kept in the 
recycle bin and will not be displayed when you use the dir command. However 
they will be displayed, using the dir /all command. The files deleted by the delete 
command can be recovered with the undelete command or deleted permanently 
from the recycle bin, using the reset recycle-bin command.
Note that, if two files with the same name in a directory are deleted, only the 
latest deleted file will be kept in the recycle bin.
Example
# Delete the file flash:/test/test.txt
<SW8800> delete flash:/test/test.txt
 
Delete flash:/test/test.txt?[Y/N]: 
dir
Syntax
dir [ /all ] [ file-url ]