3com 4500 PWR 50-PORT User Manual

Page of 466
306
C
HAPTER
 12: U
SING
 S
YSTEM
 M
ANAGEMENT
 C
OMMANDS
If the destination file name is the same as an existing directory name, the rename 
operation will fail. If the destination file name is the same as an existing file name, 
a prompt will be displayed asking whether to overwrite the existing file.
Example
Display the current directory information.
<4500>dir
Directory of unit1>flash:
0 drw-         0  Jul 12 2001 19:41:20   test
1 -rw-        50  Jul 12 2001 20:26:48   sample.txt
16125952 bytes total (13970432 bytes free)
Rename the file sample.txt with sample.bak.
<4500>rename sample.txt sample.bak
Rename flash:/sample.txt to flash:/sample.bak ?[confirm]:y
% Renamed file unit1>flash:/sample.txt unit1>flash:/sample.bak
Display the directory after renaming sample.txt with sample.bak. 
<4500>dir
Directory of unit1>flash:
0   -rw-   2145718  Jul 12 2001 12:28:08   ne80.bin
1   drw-         0  Jul 12 2001 19:41:20   test
2   -rw-        50  Jul 12 2001 20:29:55   sample.bak
16125952 bytes total (13970432 bytes free)
reset recycle-bin
Syntax
reset recycle-bin file-path
View
User view
Parameter
file-path:
 Name of the file to be deleted.
Description
Use the 
reset recycle-bin 
command to permanently delete files from the 
recycle bin.
The 
delete
 command only puts the file into the recycle bin, but the 
reset 
recycle-bin
 command will delete this file permanently.
Example
Delete the file from the recycle bin.
<4500>reset recycle-binflash:/p1h_logic.out
Clear unit1>flash:/plh_logic.out? [Y/N]:y
Clearing files from flash may take a long time. Please wait.
%Cleared file unit1>flash:/~/ plh_logic.out.
rmdir
Syntax
rmdir directory