3Com 4500 26-PORT Switch User Manual


 
File System Management Commands 307
View
User view
Parameter
directory: Directory name.
Description
Use the rmdir command to delete a directory. The directory to be deleted must be
empty.
Example
Delete the directory test.
<4500>rmdir test
Rmdir unit1>flash:/test?[Y/N]:y
Removed directory unit1>flash:/test
undelete Syntax
undelete file-path
View
User view
Parameter
file-path: Name of the file to be recovered.
Description
Use the undelete command to recover the 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, a prompt will be
displayed asking whether to overwrite the existing file.
Example
Display the information for all of the files in the current directory, including the
deleted files.
<4500>dir /all
Directory of unit1>flash:/
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.
<4500>undelete sample.bak
Undelete unit1>flash:/sample.bak ?[confirm]:y
% Undeleted file unit1>flash:/sample.bak