delete

Deletes a specified file from the device's file system

Supported on the following devices:

Syntax

delete [/force <FILE>|/recursive <FILE>|<FILE>]

Parameters

delete [/force <FILE>|/recursive <FILE>|<FILE>]

/force

Forces deletion without a prompt

/recursive

Performs a recursive delete

<FILE>

Specifies the file name

  • Deletes the file specified by the <FILE> parameter

Examples

nx9500-6C8809#delete flash:/out.tar flash:/out.tar.gz
Delete flash:/out.tar [y/n]? y
Delete flash:/out.tar.gz [y/n]? y
nx9500-6C8809
nx9500-6C8809#delete /force flash:/tmp.txt
nx9500-6C8809#delete /recursive flash:/backup/
Delete flash:/backup//fileMgmt_350_180B.core 
[y/n]? y
Delete flash:/backup//fileMgmt_350_18212X.core_bk
[y/n]? n
Delete flash:/backup//imish_1087_18381X.core.gz
[y/n]? n
nx9500-6C8809