cisco ios delete folder on flash

You can delete a folder on the flash drive of Cisco IOS using this command:

delete /force /recursive bootflash:tracelogs

This removes the tracelogs folder on your flash, without prompting you to delete each individual file.