rmdir

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

Supported in the following platforms:

  • Access Points — AP505i, AP510i/e, AP560i/h
  • 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#