Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Deleting a directory in flash

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

Re: Deleting a directory in flash

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
2 REPLIES

Re: Deleting a directory in flash

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
New Member

Re: Deleting a directory in flash

It worked perfectly :)

Thanks,

J

195
Views
5
Helpful
2
Replies