File System Commands
439 Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
18
134560K of 520000K are free
Directory of flash://e/g/h
File Name Permission File Size Last Modified
--------- ---------- --------- --------------------
c drw- 720148 Dec 12 2010 17:49:36
18.15 rmdir
To remove a local directory, use the rmdir command in Privileged EXEC mode.
Syntax
rmdir
url
Parameters
•
url
—Specifies the URL of the file or directory to be deleted. The predefined
and network URLs cannot be configured.
Command Mode
Privileged EXEC mode
User Guidelines
Only empty directory can be deleted.
The command cannot remove a network directory.
The command cannot remove a directory into the flash://system directory.
Example
Example 1. The following example removes the directory called ‘backup/config/’
from FLASH:
switchxxxxxx#
rmdir flash://backup/config/
Remove flash://backup/config? [Y/N]Y
Example 2. The following example removes the directory called ‘aaa/config’ from
the mass-storage device connected to the USB port: