07-10-2007 09:28 AM
Is there any easy way to remove a directory to create space in the flash, without having to delete everysingle file in it first?
rmdir does not work if there are files in the directory.
thks
Solved! Go to Solution.
07-10-2007 09:58 AM
Doing this will break your HTML management interface. But the command would be:
delete /recursive /force flash:/c2940-i6q4l2-mz.121-22.EA6/html/images
07-10-2007 09:34 AM
You can use the /recursive option to delete:
delete /recursive flash:dir
You can also pass /force if you do not want to confirm each file:
delete /recursive /force flash:dir
07-10-2007 09:49 AM
07-10-2007 09:58 AM
Doing this will break your HTML management interface. But the command would be:
delete /recursive /force flash:/c2940-i6q4l2-mz.121-22.EA6/html/images
07-10-2007 10:03 AM
Thats great. I do not use the html interface.
So in theory I could delete the html directory directly and that would delete the images directory underneath it.
Thanks again.
07-10-2007 10:04 AM
That is correct.
In the future, if you don't want the HTML interface, just download the .bin images from Cisco.com.
07-10-2007 10:07 AM
The problem is Cisco ships all the switches with these html images as default. I have tried to get them to not do it, but it would be too expensive and I guess a nightmare for them too.... (even tho, I am ordering abt 500 switches from them a year!)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide