Command Manual (For Soliton) – File System Management
H3C S3100 Series Ethernet Switches
Chapter 1 File System Management
Configuration Commands
1-16
1.1.15 rmdir
Syntax
rmdir
directory
View
User view
Parameter
directory
: Name of a directory.
Description
Use the
rmdir
command to delete a directory.
As only empty directories can be deleted, you need to clear a directory before deleting
it.
Example
# Delete the directory named dd.
<Sysname> rmdir dd
Rmdir unit1>flash:/dd?[Y/N]:y
....
%Removed directory unit1>flash:/dd.
1.1.16 undelete
Syntax
undelete
file
-
url
View
User view
Parameter
file
-
url
: Path name or file name of a file in the Flash memory.
Description
Use the
undelete
command to restore a deleted file from the recycle bin.
If the name of the file to be restored is the same as that of an existing file, the existing
file will be overwritten after the command is executed successfully.
Example
# Restore the deleted file named sample.bak.