01-29-2007 03:09 PM - edited 03-05-2019 02:03 PM
I am trying to upgrade cisco IOS for c3560 switches and I do not have enough space to upgrade. I trying to removed like the html folders, so I used rmdir to remove a directory but if the directory has files it would not let me erase it.
Does any one know the command to remove the directory with files in it?
Thanks
Solved! Go to Solution.
01-29-2007 03:18 PM
Hello Alejo,
You will need to use the delete command here... the syntax is as given below:
delete /force /recursive flash:dir_name
Use this and let us know if anything else is required on this.
command reference:
http://www.cisco.com/univercd/cc/td/doc/product/lan/cat3560/12225sed/cr1/cli1.htm#wp1861193
Hope this helps.. all the best.. rate replies if found useful.
Raj
01-29-2007 03:18 PM
Hello Alejo,
You will need to use the delete command here... the syntax is as given below:
delete /force /recursive flash:dir_name
Use this and let us know if anything else is required on this.
command reference:
http://www.cisco.com/univercd/cc/td/doc/product/lan/cat3560/12225sed/cr1/cli1.htm#wp1861193
Hope this helps.. all the best.. rate replies if found useful.
Raj
01-29-2007 03:24 PM
It works, thanks
03-28-2017 02:10 PM
Do this:
ROMMON MODE
switch: flash
switch: delete flash:c3560-ipservicesk9-mz.122-55.SE10.bin
y
09-18-2019 08:09 PM
I just tried issuing the command to delete directory...c3560-ipbase-mz.122-35.SE5 and it says "flash:c3560-ipbase-mz.122-35.SE5" not deleted --is a directory.
09-18-2019 08:05 PM
Does not work for me, I am in rommon mode and it does not let me delete the directory. Does, someone have and idea, please help?
Thank You
09-18-2019 07:50 PM
No sir does not work
09-18-2019 07:53 PM
Dear Sir:
I have tried to delete the directory c3560-ipbasek9-mz.122-35.SE5, with the delete /force /recursive flash:dir_name, but says not deleted .....no such device. I am in common
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