No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

OceanStor 9000 V5 7.0 Command Reference 03

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
delete directory

delete directory

Function

The delete directory command is used to delete a directory.

Format

delete directory < dir_name > < parent_dir >

Parameters

Parameter

Description

Value

dir_name Directory name.

The value contains 1 to 255 characters and cannot contain /, ., or ...

parent_dir Parent path.

The value contains 1 to 4000 characters.

The path format is /parent path name.

Level

Resource administrator

Usage Guidelines

If a directory contains files, you cannot delete it but empty subdirectories under it. Delete the directory after you delete files in it.

Example

Delete a directory.

admin:/>delete directory file1 /
WARNING: You are about to delete the directory.
Have you read warning message carefully?(y/n)y
 
Are you sure you want to perform the operation?(y/n)y
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 24482

Downloads: 7

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next