H3C S3100 Series Command Manual page 861

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

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.
Display all the files in the recycle bin in directory flash:.
<Sysname> dir /all
Directory of flash:/
0
-rwh
1
-rw-
2
-rw-
3
-rw-
4
drw-
5
-rwh
6
-rwh
7
-rw-
8
-rw-
7239 KB total (1930 KB free)
//The above information indicates that in directory flash:, there are two files a.cfg and b.cfg in the
recycle bin.
Delete the files in directory flash: that are already in the recycle bin.
<Sysname> reset 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...
In directory flash:, check whether all the files in the recycle bin are deleted.
<Sysname> dir /all
Directory of flash:/
0
-rwh
1
-rw-
2
-rw-
3
-rw-
4
drw-
5
-rwh
6
-rwh
7239 KB total (1934 KB free)
// The above information indicates that file flash:/a.cfg and flash:/b.cfg are deleted permanently.
In directory flash:/test, see whether the file in the recycle bin is deleted or not.
<Sysname> cd test
3080
Apr 26 2000 16:41:43
2416
Apr 26 2000 13:45:36
4036197
May 14 2000 10:13:18
2386
Apr 26 2000 13:30:30
-
May 08 2000 09:49:25
716
Apr 24 2007 16:17:30
572
Apr 24 2007 16:17:44
2386
May 08 2000 11:14:20
3608
Dec 03 2007 17:29:30
3080
Apr 26 2000 16:41:43
2416
Apr 26 2000 13:45:36
4036197
May 14 2000 10:13:18
2386
Apr 26 2000 13:30:30
-
May 08 2000 09:49:25
716
Apr 24 2007 16:17:30
572
Apr 24 2007 16:17:44
private-data.txt
config.cfg
main.bin
back.cfg
test
hostkey
serverkey
[a.cfg]
[b.cfg]
private-data.txt
config.cfg
main.bin
back.cfg
test
hostkey
serverkey
1-12

Advertisement

Table of Contents
loading

Table of Contents