Switch 7700 Command reference Guide, v2.0

Table Of Contents
File System Management Commands 413
View
User view
Parameter
directory: Directory name.
Description
Using the rmdir command, you can delete a directory.
The directory to be deleted must be empty.
Example
Delete the directory altdir.
<SW7700>rmdir altdir
Rmdir dd?[confirm]
Removed dir flash:/test/text.txt flash:/test/altdir
undelete Syntax
undelete file-url
View
User view
Parameter
file-url: Name of the file to be recovered.
Description
Using the undelete command, you can recover deleted file.
The file name to be recovered cannot be the same as an existing directory name. If
the destination file name is the same as an existing file name, prompt whether to
overwrite.
Example
Display the information of all the files (including the deleted ones) in the current
directory.
<SW7700>dir /all
Directory of *
0 -rw- 595 Jul 12 2001 20:13:19 test.txt
1 -rw- 50 Jul 12 2001 20:09:23 [sample.bak]
16125952 bytes total (13972480 bytes free)
Recover the deleted file sample.bak.
<SW7700>undelete sample.bak
Undelete flash:/test/sample.bak ?[confirm]:y
% Undeleted file flash:/test/sample.bak