Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide Chapter 4 File Management Commands
3Com Corporation
4-18
6477 KBytes total (5944 KBytes free)
4.1.19 undelete
Syntax
undelete filename
View
User view
Parameter
filename: Name of the file to be restored.
Description
Use the undelete command to restore a file from the recycle bin.
You cannot restore a file if its name is the same as that of the existing directory name. If
the name of the file is the same as that of an exiting file, the system asks you whether to
overwrite the existing file.
Example
<3com> dir /all
Directory of flash:/
0 -rw- 595 Jul 12 2001 20:13:19 vrpcfg.cfg
1 -rw- 50 Jul 12 2001 20:09:23 [sample.bak]
6477 KBytes total (2144 KBytes free)
# Restore file sample.bak from the recycle bin.
<3com> undelete sample.bak
Undelete flash:/test/sample.bak ?[Y/N]:y
% Undeleted file flash:/test/sample.bak
<3com> dir /all
Directory of flash:/
0 -rw- 50 Jul 12 2001 20:34:19 sample.bak
1 -rw- 595 Jul 12 2001 20:13:19 vrpcfg.cfg
6477 KBytes total (2144 KBytes free)
4.2 File System Check Configuration Commands
4.2.1 vfs check file-system
Syntax
vfs check file-system