delete
To delete one or more files from the specified file system, use the delete command in boot loader mode.
delete filesystem:/file-url...
Syntax Description
Alias for a file system. Use usbflash0: for USB memory sticks.
filesystem:
Path (directory) and filename to delete. Separate each filename with a space.
/file-url...
Command Default
No default behavior or values.
Command Modes
Boot loader
Command History
ModificationRelease
This command was introduced.Cisco IOS XE 3.3SECisco IOS XE 3.3SE
Usage Guidelines
Filenames and directory names are case sensitive.
The device prompts you for confirmation before deleting each file.
Examples
This example shows how to delete two files:
Device: delete usbflash0:test2.text usbflash0:test5.text
Are you sure you want to delete "usbflash0:test2.text" (y/n)?y
File "usbflash0:test2.text" deleted
Are you sure you want to delete "usbflash0:test5.text" (y/n)?y
File "usbflash0:test2.text" deleted
You can verify that the files were deleted by entering the dir usbflash0: boot loader command.
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)
915
delete