07-19-2019 06:53 AM
I'm trying to delete an unused bin file on a router I plan on upgrading.
Directory of bootflash:/
*snip for brevity*
14 -rw- 424196520 Jan 13 2016 14:13:28 +00:00 isr4400-universalk9.03.13.04.S.154-3.S4-ext.SPA.bin
15 -rw- 491568196 Mar 26 2017 23:57:30 +01:00 isr4400-universalk9.03.16.05.S.155-3.S5-ext.SPA.bin
I'm trying to delete the top one [S4] but I get an error:
Router01#del flash:isr4400-universalk9.03.13.04.S.154-3.S4-ext.SPA.bin
Delete filename [isr4400-universalk9.03.13.04.S.154-3.S4-ext.SPA.bin]? y
Delete bootflash:y? [confirm]
%Error deleting bootflash:y (No such file or directory)
I'm not sure why it thinks the file isn't there, I'm looking right at it.
07-19-2019 07:16 AM - edited 07-19-2019 07:17 AM
@Mr. Bash wrote:
Router01#del flash:isr4400-universalk9.03.13.04.S.154-3.S4-ext.SPA.bin
Syntax is wrong.
Try this: del /f /r bootflash:isr4400-universalk9.03.13.04.S.154-3.S4-ext.SPA.bin
07-19-2019 08:08 AM
Hi,
You can try
#delete <File Name>
#delete ?
/force Force delete
/recursive Recursive delete
07-19-2019 11:17 PM
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