Command Manual (For Soliton) – File System Management
H3C S3100 Series Ethernet Switches
Chapter 1 File System Management
Configuration Commands
1-15
8 -rw- 3608 Dec 03 2007 17:29:30 [b.cfg]
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.
z
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...
z
In directory
flash:
, check whether all the files in the recycle bin are deleted.
<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
7239 KB total (1934 KB free)
// The above information indicates that file
flash:/a.cfg
and
flash:/b.cfg
are deleted
permanently.
z
In directory
flash:/test
, see whether the file in the recycle bin is deleted or not.
<Sysname> cd test
<Sysname> dir /all
Directory of flash:/test/
0 drw- - Dec 03 2007 18:19:09 subtest
1 -rw- 2386 Dec 03 2007 18:43:41 [c.cfg]
7239 KB total (1934 KB free)
// The above information indicates that file
flash:/test/c.cfg
in directory
flash:/test
is
not deleted and is still in the recycle bin.