HP VPN Firewall Appliances System Management and Maintenance Command Reference
47
After you execute the rmdir command successfully, the files in the recycle bin in the folder will be
automatically deleted.
Examples
# Remove folder mydir.
<Sysname> rmdir mydir
Rmdir cfa0:/mydir?[Y/N]:y
%Removed directory cfa0:/mydir.
undelete
Use undelete to restore a file from the recycle bin.
Syntax
undelete file-url
Views
User view
Default command level
3: Manage level
Parameters
file-url: Name of the file to be restored.
Usage guidelines
If another file with the same name exists in the same path, the system prompts you on whether to
overwrite the original file.
Examples
# Restore file a.cfg in directory cfa0: from the recycle bin.
<Sysname> undelete a.cfg
Undelete cfa0:/a.cfg?[Y/N]:y
.....
%Undeleted file cfa0:/a.cfg.
# Restore file b.cfg in directory cfa0:/test from the recycle bin.
<Sysname> undelete cfa0:/test/b.cfg
Undelete cfa0:/test/b.cfg?[Y/N]:y
.......
%Undeleted file cfa0:/test/b.cfg.
Or:
<Sysname> cd test
<Sysname> undelete b.cfg
Undelete cfa0:/test/b.cfg?[Y/N]:y
.....
%Undeleted file cfa0:/test/b.cfg.