Rmdir; Undelete - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

rmdir

Syntax
rmdir directory
View
User view
Default Level
3: Manage level
Parameters
directory: Name of the folder.
Description
Use the rmdir command to remove a folder.
The folder must be an empty one. If not, you need to delete all files and subfolders under it with the
delete command.
After you execute the rmdir command successfully, the files in the recycle bin under the folder will
be automatically deleted.
Examples
# Remove folder mydir.
<Sysname> rmdir mydir
Rmdir flash:/mydir?[Y/N]:y
%Removed directory flash:/mydir.

undelete

Syntax
undelete file-url
View
User view
Default Level
3: Manage level
Parameters
file-url: Name of the file to be restored.
Description
Use the undelete command to restore a file from the recycle bin.
If another file with the same name exists under the same path, the undelete operation will cause it to be
overwritten and the system will prompt you whether to continue.
1-15

Advertisement

Table of Contents
loading

Table of Contents