Deleting a directory in flash

Answered Question
Jul 11th, 2008
User Badges:

Hi,


I'm preparing to upgrade the IOS on my c3750, but first I need to delete an old image out of flash. This was originally downloaded as a .tar file, and as such is now in a directory format rather than just the .bin.


Is there a quick way to delete the whole directory? I can only find info on deleting files, and it's going to take me a very long time to delete each file in turn!


I'm sure there's a really simple answer to this!


Thanks,

J

Correct Answer by stephen.stack about 8 years 10 months ago

Hi,


This gets rid of a directory and everything in it.

delete /force /recursive flash:


HTH, Pls rate if it does.


Regards


Stephen

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
stephen.stack Fri, 07/11/2008 - 03:21
User Badges:
  • Silver, 250 points or more

Hi,


This gets rid of a directory and everything in it.

delete /force /recursive flash:


HTH, Pls rate if it does.


Regards


Stephen

Actions

This Discussion