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

Fit AP V200R010C00 Command Reference

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).
rmdir (user view)

rmdir (user view)

Function

The rmdir command deletes a specified directory from the storage device.

Format

rmdir directory

Parameters

Parameter Description Value
directory

Specifies a directory or directory and its path.

The value is a string of case-sensitive characters in the [ drive ] [ path ] directory format. The absolute path length ranges from 1 to 64, while the directory name length ranges from 1 to 15.

In the preceding parameter, drive specifies the storage device name, and path specifies the directory and subdirectory.

Characters such as ~, *, /, \, :, ', " cannot be used in the directory name.

Views

User view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

The following describes the drive name.
  • drive is the storage device and is named flash:.

The path can be an absolute path or relative path.
  • flash:/my/test/ is an absolute path.

  • selftest/ is related to the current working directory and indicates the selftest directory in the current working directory.

Precautions

  • Before running the rmdir command to delete a directory, you must delete all files and subdirectories from the directory.

  • A deleted directory and its files cannot be restored from the recycle bin.

Example

# Delete the directory test from the current directory.

<Huawei> rmdir test
Remove directory flash:/test?(y/n)[n]:y
%Removing directory flash:/test....Done! 
Related Topics
Translation
Download
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 152898

Downloads: 125

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