Switch 7700 Command reference Guide, v2.0

Table Of Contents
412 CHAPTER 11: USING SYSTEM MANAGEMENT COMMANDS
If the destination file name is the same as an existing directory name, operation
fails. If the destination file name is the same as an existing file name, prompt
whether to overwrite.
Example
Display the current directory information.
<SW7700>dir
Directory of *
0 -rw- 2145718 Jul 12 2001 12:28:08 vrp.bin
1 drw- 0 Jul 12 2001 19:41:20 test
2 -rw- 50 Jul 12 2001 20:26:48 sample.txt
16125952 bytes total (13970432 bytes free)
Rename the file sample.txt with sample.bak.
<SW7700>rename sample.txt sample.bak
Rename flash:/sample.txt to flash:/sample.bak ?[confirm]:y
% Renamed file flash:/sample.txt flash:/sample.bak
Display the directory after renaming sample.txt with sample.bak.
<SW7700>dir
Directory of *
0 -rw- 2145718 Jul 12 2001 12:28:08 ne80.bin
1 drw- 0 Jul 12 2001 19:41:20 test
2 -rw- 50 Jul 12 2001 20:29:55 sample.bak
16125952 bytes total (13970432 bytes free)
reset recycle-bin Syntax
reset recycle-bin file-url
View
User view
Parameter
file-url: Name of the file to be deleted.
Description
Using the reset recycle-bin command, you can permanently delete files from
the recycle bin.
The delete command only puts the file into the recycle bin, but the reset
recycle-bin
command will delete this file permanently.
Example
Delete the file from the recycle bin.
<SW7700>reset recycle-binflash:/p1h_logic.out
Reset recycle-binflash:/plh_logic.out?[confirm]
rmdir Syntax
rmdir directory