04-21-2016 09:38 AM - edited 03-08-2019 05:27 AM
Hello, could somebody give an hint, please:
I have user command,
router4321#archive tar /xtract tftp://172.22.99.69/CME10.5.0GUI.tar bootflash:
show
router4321#show flash: | s CME
404 4096 Apr 21 2016 15:13:48 +00:00 /bootflash/CME 10.5.0 GUI
and dir commands
router4321#dir bootflash:
177409 drwx 4096 Apr 21 2016 15:13:48 +00:00 CME 10.5.0 GUI
router4321#show flash: | s CME
/bootflash/CME 10.5.0 GUI
shows me the folder which was in this tar archive on tftp.
So, the Router can see it.
But, the name of this folder contains spaces, so I cannot delete it.
router4321#delete flash:CME 10.5.0 GUI
^
% Invalid input detected at '^' marker.
router4321#rmdir bootflash:CME 10.5.0 GUI
^
% Invalid input detected at '^' marker.
router4321#
I tryed to put this name in " ", _ _, $ $, % %, ' ', \ \ , but it doesn't work.
Reload didn't help to.
How could it be done ?
04-21-2016 09:43 AM
this is the answer:
https://supportforums.cisco.com/discussion/12260356/cannot-delete-folder-flash
delete /force /recu "flash:CME 9.1.0 GUI"
11-25-2018 06:43 AM
I have the same issue where CME creates a directory with a space in the file name. You showed how to delete this directory but how do I display the contents of the director or even rename it? I get the same error as the original post. It wont recognize the file name due to the space.
How can I display the contents?
11-25-2018 07:47 AM
Hello,
what command are you issuing, and which error do you get ? Provide an example...
11-25-2018 09:33 AM
hello
@DSP2016free wrote:
I have the same issue where CME creates a directory with a space in the file name. You showed how to delete this directory but how do I display the contents of the director or even rename it? I get the same error as the original post. It wont recognize the file name due to the space.
How can I display the contents?
rename flash:test.txt textold.txt
more flash:mydirectory
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