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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

How to delete files on AP

I am trying to delete files on an AP so I can recover from a failed IOS load. How can I delete all the files in a directory at once. I can't seem to use *.* or * Here is the commands I have tried:

ap: delete flash:/c1200-k9w7-mx.123-7.JA2/html/level/1/*.js

Are you sure you want to delete "flash:/c1200-k9w7-mx.123-7.JA2/html/level/1/*.js" (y/n)?y

File "flash:/c1200-k9w7-mx.123-7.JA2/html/level/1/*.js" not deleted -- no such file or directory

ap: delete flash:/c1200-k9w7-mx.123-7.JA2/html/level/1/*

Are you sure you want to delete "flash:/c1200-k9w7-mx.123-7.JA2/html/level/1/*" (y/n)?y

File "flash:/c1200-k9w7-mx.123-7.JA2/html/level/1/*.*" not deleted -- no such file or directory

2 REPLIES
kka
New Member

Re: How to delete files on AP

Not sure if this works without loading the IOS first, but you could try:

delete /force /recursive flash:/c1200-k9w7-mx.123-7.JA2/html/level/1

New Member

Re: How to delete files on AP

Unfortunalty in the mode I am in the there are no other options for Delete.. I ended up using the output of the dir command to create a txt file that I used to manually copy and paste commands back in to my telnet session to delete each file step by step. It took a while but the AP has an IOS back on it.

423
Views
0
Helpful
2
Replies