Cisco Cisco Packet Data Interworking Function (PDIF)
Exec Mode Commands (D-S)
▀ rmdir
▄ Command Line Interface Reference, StarOS Release 17
4146
rmdir
Removes (deletes) a local directory.
Product
All
Privilege
Security Administrator, Administrator
Mode
Exec
The following prompt is displayed in the Exec mode:
[local]host_name#
Syntax
rmdir path [ force ]
path
Specifies the directory path to remove. The must be formatted according as follows:
For the ASR 5000:
For the ASR 5000:
[ file: ]{ /flash | /pcmcia1 | /hd-raid }[ /directory ]/file_name
For the ASR 5500:
[ file: ]{ /flash | /usb1 | /hd-raid }[ /directory ]/file_name
For VPC:
[ file: ]{ /flash | /hd-raid | /usb1 | /usb2 | /cdrom1 }[ /directory
]/file_name
]/file_name
Important:
Do not use the following characters when entering a string for the field names below: “/” (forward
slash), “:” (colon) or “@” (at sign).
directory
is the directory name
filename
is the actual file of interest
force
Over-rides any warnings to force deletion of the directory and any files contained therein.
Important:
Use of the
force
keyword should be done with care to ensure the directory is specified accurately as
there is no method to recover a directory which has been removed.
Usage
Remove old directories as part of regular maintenance.