Rmdir - Allied Telesis SwitchBlade x908 Series Software Reference Manual

Switchblade x908/x900 series alliedware plus operating system software reference for version 5.3.1
Hide thumbs Also See for SwitchBlade x908 Series:
Table of Contents

Advertisement

rmdir

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] <url>
Parameter
force
<url>
Privileged Exec mode
Mode
To remove the directory images from the top level of the Flash file system, use the
Example
command:
To force the removal of directory level1 containing subdirectory level2, use the
command:
In a stacked environment you can use the CLI on a stack master to access file systems that are
Usage
located on another stack member. In this case, when you enter the command, specify the stack
member's file system by using the following syntax:
<hostname>-<member-id>/
(for example, awplus-1/ for a file or directory on stack member 1, awplus-2/ for member
2 etc).
To remove a directory called test from the top level of the Flash filesystem in stack member
Example
3, use the command:
Note that you must specify the filesystem ("flash:" in this example).
cd
Related Commands
dir
mkdir
pwd
C613-50007-01 REV B
Description
Optional keyword that allows you to delete any directories that are
not empty and may contain files or subdirectories.
The URL of the directory.
awplus#rmdir flash:/images
awplus#mkdir level1
awplus#mkdir level1/level2
awplus#rmdir force level1
awplus#
rmdir awplus-3/flash:/test
Software Reference for SwitchBlade® x908, x900 and x600 Series Switches
TM
AlliedWare Plus
Operating System - Software Version 5.3.1
File Management Commands
7.19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents