H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – File System Management
H3C S7500 Series Ethernet Switches Chapter 1
File System Management Commands
1-12
# Rename the file tt.txt as tt.bak.
<H3C> rename tt.txt tt.bak
Rename flash:/tt.txt to flash:/tt.bak?[Y/N]:y
...
%Renamed file flash:/tt.txt to flash:/tt.bak.
# Display the information about the files in the current directory again.
<H3C>dir
Directory of flash:/
0 -rw- 4 Mar 09 2006 13:59:19 snmpboots
1 -rw- 16215134 Apr 04 2006 16:36:20 S7500.app
2 -rw- 553 Jan 21 2006 17:05:55 diaginfo.txt
3 -rw- 3906 Apr 04 2006 17:23:54 config.cfg
4 drw- - Apr 05 2006 10:53:23 hello
5 drw- - Apr 10 2005 19:07:59 dd
6 -rw- 11779 Apr 05 2006 10:23:03 test2.bak
7 -rw- 11779 Apr 05 2006 11:36:06 tt.bak
8 drw- - Jan 25 2005 11:08:59 backup
31877 KB total (15934 KB free)
1.1.14 reset recycle-bin
Syntax
reset recycle-bin [ file-url ] [ /force ]
View
User view
Parameters
/force: Does not prompt for the confirmation before deleting all the files in the recycle
bin.
file-url: Path and the file name of the file to be deleted.
Description
Use the reset recycle-bin command to clear a specified file or all the files in the recycle
bin.
You can use the * as a wild card in the file-url argument.
The files deleted using the delete command are actually moved to the recycle bin if you
do not specify the /unreserved keyword. To delete the files in the recycle bin
completely, use the reset recycle-bin command.