105
Default command level
3: Manage level
Parameters
/force
: Deletes all files in the recycle bin, including files that cannot be deleted by the command without
the
/force
keyword.
Usage guidelines
If a file is corrupted, you might not be able to delete the file using the
reset recycle-bin
command. Use the
reset recycle-bin /force
command to delete the corrupted file in the recycle bin forcibly.
The
delete
file
-
url
command only moves a file to the recycle bin. To permanently delete the file in the
recycle bin, use the
reset recycle-bin
command in the original directory of the file.
The
reset recycle-bin
command deletes files in the current directory and in the recycle bin. If the original
path of the file to be deleted is not the current directory, use the
cd
command to enter the original
directory of the file, and then execute the
reset recycle-bin
command.
Examples
# Delete file
b.cfg
in the current directory and in the recycle bin:
1.
Display all files in the recycle bin and in the current directory.
<Sysname> dir /all
Directory of flash:/
0 -rwh 3080 JAN 26 2012 16:41:43 private-data.txt
1 -rw- 2416 JAN 26 2012 13:45:36 config.cfg
2 -rw- 8036197 JAN 14 2012 10:13:18 main.bin
3 -rw- 2386 JAN 26 2012 13:30:30 back.cfg
4 drw- - JAN 08 2012 09:49:25 test
5 -rwh 716 JAN 24 2012 16:17:30 hostkey
6 -rwh 572 JAN 24 2012 16:17:44 serverkey
7 -rw- 2386 JAN 08 2012 11:14:20 [a.cfg]
8 -rw- 3608 JAN 03 2012 17:29:30 [b.cfg]
515712 KB total (6730 KB free)
0 -rwh 6044 JAN 28 2012 16:24:33 private-data.txt
1 -rw- 31152150 JAN 22 2012 09:48:30 S5800-cmw520-f6636l03.bin
2 drw- - JAN 24 2012 11:53:30 seclog
3 -rw- 15272 JAN 07 2012 09:44:47 config.cwmp
4 -rwh 864024 JAN 01 2012 11:21:20 io_mon.txt
5 -rw- 7722 JAN 15 2012 11:48:50 startup.cfg
6 -rw- 151 JAN 28 2012 16:24:45 system.xml
7 -rw- 28879544 JAN 13 2012 17:55:42 S5800-105sp08.bin
8 -rwh 4 JAN 14 2012 11:48:15 snmpboots
9 -rw- 429436 JAN 02 2012 09:09:39 lsqsrp2xb05301.btw
10 -rw- 1145736 JAN 06 2012 11:23:39 default.diag
11 -rw- 5001 JAN 09 2012 17:41:26 basic.cfg
12 -rw- 6651 JAN 09 2012 17:03:07 test.cfg
13 -rw- 5248 JAN 21 2012 09:57:16 mpls-basic.cfg
14 -rw- 2362 JAN 23 2012 10:15:22 startup.cfg.bak