1-13
Parameters
file-url: Path name or file name of a file in the Flash memory. This argument supports the wildcard “*”.
For example, *.txt means all the files with an extension of txt.
/force: Specifies not to prompt for confirmation before deleting files.
/fabric: Specifies to clear the recycle bins of all Flash memories in the fabric.
Description
Use the reset recycle-bin command to permanently delete the files in the recycle bin in the current
directory.
Use the reset recycle-bin file-url command to permanently delete the files in the recycle bin in the
specified directory.
By default, the file operation reminding mode is alert, meaning that when you clear the files in the
recycle bin on the local unit, the system will ask for your confirmation for each file you want to delete.
However, if you specify the /force keyword in the command, the system will not ask for your
confirmation.
Use the reset recycle-bin /fabric command to permanently delete files in the recycle bin of all the
devices in the fabric.
The system will not prompt you to confirm deletion of each file when you clear recycle bins throughout
the fabric.
The files deleted by the delete command without the /unreserved keyword are moved to the recycle
bin. To delete them permanently, you can use the reset recycle-bin command.
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:.
<Sysname> dir /all
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.bin
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]