C613-50066-01 REV A
Command Reference for IE200 Series Industrial Managed PoE+ Switches
135
AlliedWare Plus™ Operating System - Version 5.4.5I-0.x
F
ILE
M
ANAGEMENT
C
OMMANDS
RMDIR
rmdir
Overview
This command removes a directory. The directory must be empty for the
command to work unless the optional
force
keyword is used to remove all
subdirectories or files in a directory.
Syntax
rmdir [force] <
name
>
Mode
Privileged Exec
Examples
To remove the directory
images
from the top level of the Flash filesystem, use the
command:
awplus#
rmdir flash:/images
To force the removal of directory
level1
containing subdirectory
level2
, use
the command:
awplus#
mkdir level1
awplus#
mkdir level1/level2
awplus#
rmdir force level1
Related
Commands
cd
dir
mkdir
pwd
Parameter
Description
force
Optional keyword that allows you to delete any directories
that are not empty and may contain files or subdirectories.
<
name
>
The name and path of the directory.