09-06-2011 04:05 AM - edited 07-03-2021 08:40 PM
Hello everybody.
I've stumbled across this issue a couple of times, thus now I decided to write and ask for help.
How do I have to tell the IOS on an Aironet AP1142N to delete (rmdir) a whole directory with its contents and maybe subfolders?
I've tried "rmdir /recursive flash:/directory" but I get asked if I'd like to remove "/recursive"!!!
Any help will be appreciated, as I don't have the time to dig myself into every and each subfolder deleting single files...
Kind regards,
F.
Solved! Go to Solution.
09-06-2011 03:44 PM
Command: delete /force /recursive flash:directory
09-06-2011 03:44 PM
Command: delete /force /recursive flash:directory
09-07-2011 01:06 AM
Hy leolaohoo,
indeed it is working, but not in the recovery console (when you boot it up pressing the button for 20 seconds).
Is this behaviour ok?
F.
09-07-2011 02:13 AM
I don't understand. I thought you wanted to delete a subfolder and all of it's files?
09-07-2011 02:27 AM
Indeed, that's what I wanted to do. But I wanted to do it in the "recovery mode", and there it is not working.
It's not a big trouble, as I can load via tftp (in recovery mode) my new firmware, reboot and afterwards delete the old one, with the command you showed me.
But if it were possible to do the same in "recovery mode" I'd be still glad to know how to do it.
Thanks,
F.
09-07-2011 02:32 AM
Is this what you are looking for:
09-07-2011 02:37 AM
mmmhhh... not 100%.
What I was doing is as follows:
- unpacked my AP1142;
- needed to upgrade to latest firmware release;
- while plugging in power cord, I held down the MODE button for more than 20 seconds;
- released the MODE button, got booted into recovery mode;
- init_tftp, uploaded the NEW firmware;
- wanted to delete the OLD firmware (directory and files) before rebooting to the NEW one.
Do you now see what I was doing?
Kind regards,
F.
09-07-2011 02:45 AM
If you want to upgrade the autonomous IOS of your AP then the link I've posted is a no-brainer, hassle-free method.
09-07-2011 02:46 AM
That's perfect!
Thanks,
F.
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