cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

6035
Views
5
Helpful
7
Replies
Highlighted
Beginner

c3560, how to remove a directory w/ files in it?

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

1 ACCEPTED SOLUTION

Accepted Solutions
Engager

Re: c3560, how to remove a directory w/ files in it?

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

View solution in original post

7 REPLIES 7
Engager

Re: c3560, how to remove a directory w/ files in it?

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

View solution in original post

Beginner

Re: c3560, how to remove a directory w/ files in it?

It works, thanks

Beginner

Do this: 

Do this: 

ROMMON MODE

switch: flash
switch: delete flash:c3560-ipservicesk9-mz.122-55.SE10.bin 

y

Beginner

Re: Do this:

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.

Beginner

Re: c3560, how to remove a directory w/ files in it?

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

Beginner

Re: c3560, how to remove a directory w/ files in it?

No sir does not work

Beginner

Re: c3560, how to remove a directory w/ files in it?

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

CreatePlease to create content
Content for Community-Ad