04-11-2007 12:50 PM - edited 03-05-2019 03:24 PM
I have a 3745 router running 12.2 IOS. I am trying to rename some files in flash (name.old)and TFTP some new files in to test. This seems pretty straight forward, any help would be appreciated. Will rate.
04-11-2007 01:02 PM
copy bootflash:filename bootflash:
delete bootflash:filename
copy tftp: bootflash:
Hope that helps.
04-11-2007 01:21 PM
Thanks. I only have "flash" not "bootflash". When I do issue the command though, I get "error opening flash:new-name (Device in exclusive use)" Ideas?
04-11-2007 01:50 PM
RouterA#sh flash
-#- --length-- ---------date/time--------- path
1 24696600 Feb 28 1993 16:13:20 -08:00 c3745-advipservicesk9-mz.123-4.T4.bin
2 1888 Feb 28 1993 16:14:32 -08:00 sdmconfig-36xx-37xx.cfg
3 16264 Feb 28 1993 16:14:40 -08:00 sdm.shtml
4 3176448 Feb 28 1993 16:15:42 -08:00 sdm.tar
5 1462 Feb 28 1993 16:15:54 -08:00 home.html
6 216064 Feb 28 1993 16:16:06 -08:00 home.tar
7 22966284 Feb 28 2002 16:11:04 -08:00 c3745-jk9o3s-mz.123-10.bin
12791808 bytes available (51089408 bytes used)
RouterA#rename flash:c3745-advipservicesk9-mz.123-4.T4.bin test.bin
Destination filename [test.bin]?
RouterA#copy tftp flash
Address or name of remote host []? 10.150.204.21
Source filename []? c3745-jk9o3s-mz.123-11.bin
Destination filename [c3745-jk9o3s-mz.123-11.bin]?
RouterA#delete flash:c3745-advipservicesk9-mz.123-4.T4.bin
Delete filename [c3745-advipservicesk9-mz.123-4.T4.bin]?
04-11-2007 01:55 PM
Thanks for the response. Unfortunately I do not have "rename" as an available command in any mode.
04-11-2007 02:05 PM
04-12-2007 04:03 AM
It does somewhat. I am unsure what a "class c" file system is in flash. Am I to understand that I cannot rename anything in my flash if the command is not available?
Will rate the response. Thanks.
04-12-2007 07:12 AM
Hi,
If you are unable to rename a file then you may want to copy that file to a new name (copy File2 file3)
then delete file2
Hope this Helps
Regards
Shaheen
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