Reset Recycle-Bin - HP 6125G Command Reference Manual

6125 blade switch series fundamentals command reference
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

% Renamed file flash:/sample.txt to flash:/sample.bat

reset recycle-bin

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125g/xg

Table of Contents