3com 4500 PWR 50-PORT User Manual

Page of 466
300
C
HAPTER
 12: U
SING
 S
YSTEM
 M
ANAGEMENT
 C
OMMANDS
When the destination filename is the same as that of an existing file, the system 
will ask whether to overwrite it.
Example
Display current directory information.
<4500>dir
Directory of unit1>flash:/
0   -rw-       595  Jul 12 2001 19:41:50   test.txt
16125952 bytes total (13975552 bytes free)
Copy the file test.txt and save it as test.bak.
<4500>copy test.txt test.bak
%Copy file unit1>flash:/test.txt to unit1>flash:/test.bak 
...Done
Display current directory information.
<4500>dir
Directory of unit1>flash:/
0   -rw-       595  Jul 12 2001 19:41:50   test.txt
1   -rw-       595  Jul 12 2001 19:46:50   test.bak
16125952 bytes total (13974528 bytes free)
delete
Syntax
delete [ / unreserved ] file-path
View
User view
Parameter
/unreserved
: The file will be deleted permanently if the user chooses this 
parameter
file-path:
 Path and name of the file you want to delete.
Description
Use the 
delete
 command to delete a specified file from the storage device of the 
Switch. 
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. 
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
<4500>delete flash:/test/test.txt
Delete unit1>flash:/test/test.txt?[Y/N]:y
%Delete file unit1>flash:/test/test.txt...Done.