H3C S5120-EI Series Command Reference Manual page 99

Fundamentals
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

Description
Use the reset recycle-bin command to permanently delete the files in the recycle bin in the directory.
If a file is corrupted, you may not be able to delete the file using the reset recycle-bin command. To delete
the corrupted file in the recycle bin forcibly, use the reset recycle-bin /force command.
The delete file-url command only moves a file to the recycle bin, and the file still occupies the memory
space. To delete the file in the recycle bin, execute the reset recycle-bin command in the original
directory of the file.
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.
Display all the files in the recycle bin and in the current directory.
<Sysname> dir /all
Directory of flash:/
0
-rwh
1
-rw-
2
-rw-
3
-rw-
4
drw-
5
-rwh
6
-rwh
7
-rw-
8
-rw-
15240 KB total (6730 KB free)
//The output shows that the current directory is
Delete file b.cfg in the current directory and in the recycle bin.
<Sysname> reset recycle-bin
Clear flash:/~/a.cfg ?[Y/N]:n
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 the file b.cfg in the recycle bin is deleted.
<Sysname> dir /all
Directory of flash:/
0
-rwh
1
-rw-
2
-rw-
3
-rw-
4
drw-
5
-rwh
6
-rwh
7
-rw-
3080
Apr 26 2008 16:41:43
2416
Apr 26 2008 13:45:36
8036197
May 14 2008 10:13:18
2386
Apr 26 2008 13:30:30
-
May 08 2008 09:49:25
716
Apr 24 2007 16:17:30
572
Apr 24 2007 16:17:44
2386
May 08 2008 11:14:20
3608
Dec 03 2007 17:29:30
3080
Apr 26 2008 16:41:43
2416
Apr 26 2008 13:45:36
8036197
May 14 2008 10:13:18
2386
Apr 26 2008 13:30:30
-
May 08 2008 09:49:25
716
Apr 24 2007 16:17:30
572
Apr 24 2007 16:17:44
2386
May 08 2008 11:14:20
private-data.txt
config.cfg
main.bin
back.cfg
test
hostkey
serverkey
[a.cfg]
[b.cfg]
flash:
a.cfg
, and two files
private-data.txt
config.cfg
main.bin
back.cfg
test
hostkey
serverkey
[a.cfg]
89
b.cfg
and
are in the recycle bin.

Advertisement

Table of Contents
loading

Table of Contents