Command Manual (For Soliton) – File System Management
H3C S3100 Series Ethernet Switches
Chapter 1 File System Management
Configuration Commands
1-14
1.1.14 reset recycle-bin
Syntax
reset
recycle-bin
[
file
-
url
] [
/force
]
View
User view
Parameter
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.
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.
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.
Example
# 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- 4036197 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]