rmdir

Deletes an existing directory from the file system (only empty directories can be removed)

Supported in the following platforms:

  • Access Points — AP505i, AP510i, AP510e, AP560i, AP6522, AP6562, AP7161, AP7502, AP7522, AP7532, AP7562, AP7602, AP7612, AP7622, AP763, AP7662, AP8163, AP8543, AP8533.
  • Service Platforms — NX5500, NX7500, NX9500, NX9600, VX9000

Syntax

rmdir <DIR>

Parameters

rmdir <DIR>

rmdir <DIR>

Specifies the directory name

Note: The directory, specified by the <DIR> parameter, is removed from the file system.

Examples

nx9500-6C8809#dir
Directory of flash:/.

  drwx             Wed Sep 14 13:54:10 2016   log
  drwx             Sat Jan  1 05:30:08 2000   configs
  drwx             Fri Sep 16 05:26:37 2016   Final
  drwx             Sat Jan  1 05:30:08 2000   cache
  drwx             Wed Nov  4 16:12:15 2015   crashinfo
  drwx             Thu Sep  8 04:09:30 2016   archived_logs
  drwx             Sat Jan  1 05:30:08 2000   upgrade
  drwx             Sat Jan  1 05:30:23 2000   hotspot
  drwx             Sat Jan  1 05:30:08 2000   floorplans
  drwx             Sat Jan  1 05:30:08 2000   tmptpd

nx9500-6C8809#
nx9500-6C8809#rmdir Final
nx9500-6C8809#dir
Directory of flash:/.

  drwx             Wed Sep 14 13:54:10 2016   log
  drwx             Sat Jan  1 05:30:08 2000   configs
  drwx             Sat Jan  1 05:30:08 2000   cache
  drwx             Wed Nov  4 16:12:15 2015   crashinfo
  drwx             Thu Sep  8 04:09:30 2016   archived_logs
  drwx             Sat Jan  1 05:30:08 2000   upgrade
  drwx             Sat Jan  1 05:30:23 2000   hotspot
  drwx             Sat Jan  1 05:30:08 2000   floorplans
  drwx             Sat Jan  1 05:30:08 2000   tmptpd

nx9500-6C8809#