![NEC SOPHO IP 5000 Command Reference Manual Download Page 52](http://html.mh-extra.com/html/nec/sopho-ip-5000/sopho-ip-5000_command-reference-manual_250069052.webp)
SOPHO
IP 5000/SOPHO IP6000
Command Reference Guide
52
undelete
Syntax
undelete filename
View
User view
Parameter
filename
: Name of the file to be restored.
Description
Using the
undelete
command, you can restore a deleted file.
If the name of the file to be restored is the same as the name of an existing
directory, the execution will fail. If the name of this file is the same as that of an
existing file, the user will be prompted whether the existing file should be
overwritten.
Example
<NEC-PHILIPS>
dir /all
Directory of *
0 -rw-595 Jul 12 2001 20:13:19 vrpcfg.txt
1 -rw- 50 Jul 12 2001 20:09:23 [sample.bak]
6477 KBytes total (2144 KBytes free)
# Restore the deleted file sample.bak.
<NEC-PHILIPS>
undelete sample.bak
Undelete flash:/test/sample.bak ?[Y/N]:y
% Undeleted file flash:/test/sample.bak
<NEC-PHILIPS>
dir /all
Directory of *
0 -rw- 50 Jul 12 2001 20:34:19 sample.bak
1 -rw-595 Jul 12 2001 20:13:19 vrpcfg.txt
6477 KBytes total (2144 KBytes free)