cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8019
Views
0
Helpful
2
Replies

How to delete files on AP

Live2 Bicycle
Level 3
Level 3

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 2

kka
Level 5
Level 5

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

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.

Review Cisco Networking for a $25 gift card