cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
775
Views
5
Helpful
2
Replies

Deleting a directory in flash

jigsaw2026
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

stephen.stack
Level 4
Level 4

Hi,

This gets rid of a directory and everything in it.

delete /force /recursive flash:

HTH, Pls rate if it does.

Regards

Stephen

========================== http://www.rconfig.com A free, open source network device configuration management tool, customizable to your needs! - Always vote on an answer if you found it helpful

View solution in original post

2 Replies 2

stephen.stack
Level 4
Level 4

Hi,

This gets rid of a directory and everything in it.

delete /force /recursive flash:

HTH, Pls rate if it does.

Regards

Stephen

========================== http://www.rconfig.com A free, open source network device configuration management tool, customizable to your needs! - Always vote on an answer if you found it helpful

It worked perfectly :)

Thanks,

J