3Com S7902E Command Reference Manual - page 2061
1-12
If a file is corrupted, you may not be able to delete the file using the
reset recycle-bin
command. In this
case, you can use the
reset recycle-bin /force
command, which can delete all the files in the recycle
bin forcibly.
Unlike this command, the
delete
file
-
url
command only moves a file to the recycle bin. To delete the file
in the recycle bin, you need to execute the
reset recycle-bin
command in the original directory of the
file.
Examples
# There are three files
flash:/a.cfg
,
flash:/b.cfg
, and
flash:/test/c.cfg
in the recycle bin. Permanently
delete file
flash:/a.cfg
and
flash:/b.cfg
.
z
Display all the files in the recycle bin in directory
flash:
.
Directory of flash:/
0 -rwh 3080 Apr 26 2000 16:41:43 private-data.txt
1 -rw- 2416 Apr 26 2000 13:45:36 config.cfg
2 -rw- 8036197 May 14 2000 10:13:18 main.app
3 -rw- 2386 Apr 26 2000 13:30:30 back.cfg
4 drw- - May 08 2000 09:49:25 test
5 -rwh 716 Apr 24 2007 16:17:30 hostkey
6 -rwh 572 Apr 24 2007 16:17:44 serverkey
7 -rw- 2386 May 08 2000 11:14:20 [a.cfg]
8 -rw- 3608 Dec 03 2007 17:29:30 [b.cfg]
64389 KB total (56514 KB free)
//The above information indicates that in directory
flash:
, there are two files
a.cfg
and
b.cfg
in the
recycle bin.
z
Delete the files in directory
flash:
that are already in the recycle bin.
Clear flash:/~/a.cfg ?[Y/N]:y
Clearing files from flash may take a long time. Please wait...
....
%Cleared file flash:/~/a.cfg.
Clear flash:/~/b.cfg ?[Y/N]:y
Clearing files from flash may take a long time. Please wait...
......
%Cleared file flash:/~/b.cfg...
z
In directory
flash:
, check whether all the files in the recycle bin are deleted.
Directory of flash:/
0 -rwh 3080 Apr 26 2000 16:41:43 private-data.txt
1 -rw- 2416 Apr 26 2000 13:45:36 config.cfg
2 -rw- 8036197 May 14 2000 10:13:18 main.app
3 -rw- 2386 Apr 26 2000 13:30:30 back.cfg
4 drw- - May 08 2000 09:49:25 test
5 -rwh 716 Apr 24 2007 16:17:30 hostkey