H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – File System Management
H3C S7500 Series Ethernet Switches Chapter 1
File System Management Commands
1-13
Examples
# Delete the file test.txt in the recycle bin.
<H3C> reset recycle-bin flash:/test.txt
Clear flash:/test.txt ?[Y/N]:y
Clear file from flash will take long time if needed...
...
%Cleared file flash:/test.txt.
1.1.15 rmdir
Syntax
rmdir directory
View
User view
Parameters
directory: Directory.
Description
Use the rmdir command to delete a directory.
As only empty directories can be deleted, you need to delete all the files in a directory
first if you want to delete the directory.
Note:
After you delete a directory using the rmdir command, the files in the recycle bin but
originally residing in the directory are deleted automatically.
Examples
# Delete the directory named hello.
<H3C> rmdir hello
The files in the recycle-bin under this directory will be deleted permanently,
Remove flash:/hello?[Y/N]:y
...
%Removed directory flash:/hello.