rmdir
rmdir
Use the rmdir bootloader command to remove one or more empty directories from the specified file
system.
Syntax Description
filesystem:
/directory-url
Command Modes
Bootloader
Command History
Release
12.2(25)FX
Usage Guidelines
Directory names are case sensitive and limited to 45 characters between the slashes (/); the name cannot
contain control characters, spaces, deletes, slashes, quotes, semicolons, or colons.
Before removing a directory, you must first delete all the files in the directory.
The switch prompts you for confirmation before deleting each directory.
Examples
This example shows how to remove a directory:
switch: rmdir flash:Test
You can verify that the directory was deleted by entering the dir filesystem: bootloader command.
Related Commands
Command
dir
mkdir
Catalyst 2960 Switch Command Reference
A-18
rmdir filesystem:/directory-url ...
Alias for a flash file system. Use flash: for the system board flash device.
Path (directory) and name of the empty directories to remove. Separate each
directory name with a space.
Modification
This command was introduced.
Description
Displays a list of files and directories on the specified file system.
Creates one or more new directories on the specified file system.
Appendix A
Catalyst 2960 Switch Bootloader Commands
OL-8604-04