Command Reference Guide

422undelete 3Com Router 5000 Family and Router 6000 Family
Command Reference
undelete
Purpose Use the undelete command to restore a file from the recycle bin.
Syntax undelete filename
Parameters filename
Name of the file to be restored.
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)
View This command can be used in the following views:
User view
Description 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.