cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6619
Views
21
Helpful
12
Replies

Cannot delete folder in flash

kevinshkong11
Level 1
Level 1

Hi,

I had tried to delete CME 9.1.0 GUI in flash using command below but failed.

 

Cisco_CME#delete /recursive /force flash:/CME 9.1.0 GUI
                                                                                    ^
% Invalid input detected at '^' marker.

 

299          0 Jul 14 2014 17:22:56 +08:00 CME 9.1.0 GUI
300       4118 Jul 14 2014 17:22:56 +08:00 CME 9.1.0 GUI/admin_user.html
301     677820 Jul 14 2014 17:22:58 +08:00 CME 9.1.0 GUI/admin_user.js
302       1029 Jul 14 2014 17:23:00 +08:00 CME 9.1.0 GUI/CiscoLogo.gif
303       1019 Jul 14 2014 17:23:00 +08:00 CME 9.1.0 GUI/CME_GUI_README.TXT
304        953 Jul 14 2014 17:23:00 +08:00 CME 9.1.0 GUI/Delete.gif
305      16344 Jul 14 2014 17:23:02 +08:00 CME 9.1.0 GUI/dom.js
306        864 Jul 14 2014 17:23:02 +08:00 CME 9.1.0 GUI/downarrow.gif
307       6315 Jul 14 2014 17:23:02 +08:00 CME 9.1.0 GUI/ephone_admin.html
308       4558 Jul 14 2014 17:23:02 +08:00 CME 9.1.0 GUI/logohome.gif
309       3978 Jul 14 2014 17:23:02 +08:00 CME 9.1.0 GUI/normal_user.html
310      78428 Jul 14 2014 17:23:04 +08:00 CME 9.1.0 GUI/normal_user.js
311       1347 Jul 14 2014 17:23:04 +08:00 CME 9.1.0 GUI/Plus.gif
312        843 Jul 14 2014 17:23:04 +08:00 CME 9.1.0 GUI/sxiconad.gif
313        174 Jul 14 2014 17:23:06 +08:00 CME 9.1.0 GUI/Tab.gif
314       2496 Jul 14 2014 17:23:06 +08:00 CME 9.1.0 GUI/telephony_service.html
315        870 Jul 14 2014 17:23:06 +08:00 CME 9.1.0 GUI/uparrow.gif
316      10230 Jul 14 2014 17:23:06 +08:00 CME 9.1.0 GUI/xml-test.html
317       3412 Jul 14 2014 17:23:06 +08:00 CME 9.1.0 GUI/xml.template

 

Kindly help.

Thank you

1 Accepted Solution

Accepted Solutions

Hi.

Try this

 

delete /force /recu "flash:CME 9.1.0 GUI"

 

HTH

 

Regards

 

Carlo

 

Please rate all helpful posts "The more you help the more you learn"

View solution in original post

12 Replies 12

islam.kamal
Level 10
Level 10

HI

Can you do do the following:

router#dir flash:

if you find "GUI"

 

kindly you can try the below:-

rmdir flash:/GUI 

 

THanks

please rate all useful information

Hi,

It does not work. There are spacing in directory naming. Thats why cannot be deleted?

  299  drw-           0  Jul 14 2014 17:22:56 +08:00  CME 9.1.0 GUI

Cisco_CME#  rmdir flash:/GUI 
Remove directory filename [GUI]? 
Delete flash0:/GUI? [confirm]
%Error Removing dir flash0:/GUI (File not found)

 

Cisco_CME#  rmdir flash:/CME 9.1.0 GUI
                             ^
% Invalid input detected at '^' marker.

Hi

Can you share the output for "router#dir flash:" .

 

Thanks

please rate all useful information

Hi,

As per requested,

 

Cisco_CME#dir flash:
Directory of flash0:/

    1  -rw-    97794040  Nov 13 2012 05:42:44 +08:00  c2900-universalk9-mz.SPA.152-4.M1.bin
    2  -rw-        2903  Nov 13 2012 06:01:32 +08:00  cpconfig-29xx.cfg
    3  -rw-     3000320  Nov 13 2012 06:01:46 +08:00  cpexpress.tar
    4  -rw-        1038  Nov 13 2012 06:01:56 +08:00  home.shtml
    5  -rw-      122880  Nov 13 2012 06:02:06 +08:00  home.tar
    6  -rw-     1697952  Nov 13 2012 06:02:20 +08:00  securedesktop-ios-3.1.1.45-k9.pkg
    7  -rw-      415956  Nov 13 2012 06:02:34 +08:00  sslclient-win-1.1.4.176.pkg
    8  -rw-     3000832  Dec 19 2012 21:04:20 +08:00  cmterm-69xx-sccp.9-2-1-0.tar
    9  -rw-     9550848  Dec 19 2012 21:05:10 +08:00  cmterm-7942_7962-sccp.9-2-1.tar
   10  -rw-       45308  Dec 19 2012 21:06:00 +08:00  BOOT69xx.0-0-0-14.zz.sgn
   11  -rw-      224952  Dec 19 2012 21:06:00 +08:00  DSP69xx.0-0-0-8.zz.sgn
   12  -rw-         481  Dec 19 2012 21:06:00 +08:00  SCCP69xx.9-2-1-0.loads
   13  -rw-     2725992  Dec 19 2012 21:06:06 +08:00  SCCP69xx.9-2-1-0.zz.sgn
   14  -rw-     4639974   Jul 7 2014 16:07:36 +08:00  apps42.9-2-1TH1-13.sbn
   15  -rw-      575495   Jul 7 2014 16:07:38 +08:00  cnu42.9-2-1TH1-13.sbn
   16  -rw-     2208583   Jul 7 2014 16:07:40 +08:00  cvm42sccp.9-2-1TH1-13.sbn
   17  -rw-      356907   Jul 7 2014 16:07:42 +08:00  dsp42.9-2-1TH1-13.sbn
   18  -rw-     1759967   Jul 7 2014 16:07:46 +08:00  jar42sccp.9-2-1TH1-13.sbn
   19  -rw-         676   Jul 7 2014 16:07:46 +08:00  SCCP42.9-2-1S.loads
   20  -rw-         680   Jul 7 2014 16:07:46 +08:00  term42.default.loads
   21  -rw-         680   Jul 7 2014 16:07:46 +08:00  term62.default.loads
   22  -rw-     2477568  Dec 19 2012 22:19:22 +08:00  cmterm-6921_41_61-sccp.9-1-1-0.tar
   23  drw-           0  Dec 19 2012 22:25:12 +08:00  its
  174  -rw-      496521  Feb 22 2013 14:16:50 +08:00  music-on-hold.au
  175  -rw-          12  Apr 23 2013 13:34:38 +08:00  .Cisco_CME.04_23_2013_13_34_37.978
  176  -rw-          12  Apr 23 2013 13:34:44 +08:00  .Cisco_CME.04_23_2013_13_34_45.074
  177  -rw-      143239  Apr 24 2013 13:48:12 +08:00  .Cisco_CME.04_23_2013_14_12_45.957
  178  -rw-      178218  Apr 25 2013 13:48:14 +08:00  .Cisco_CME.04_24_2013_14_33_22.083
  179  -rw-      127831  Apr 26 2013 13:48:14 +08:00  .Cisco_CME.04_25_2013_14_48_14.547
  180  -rw-       29851  Apr 27 2013 13:48:14 +08:00  .Cisco_CME.04_26_2013_14_48_15.138
  181  -rw-         288  Apr 28 2013 13:48:14 +08:00  .Cisco_CME.04_27_2013_14_48_15.531
  182  -rw-       29405  Apr 29 2013 13:48:16 +08:00  .Cisco_CME.04_28_2013_14_48_15.977
  183  -rw-      138626  Apr 30 2013 13:48:16 +08:00  .Cisco_CME.04_29_2013_14_48_16.543
  184  -rw-       47237   May 1 2013 13:48:16 +08:00  .Cisco_CME.04_30_2013_14_48_16.936
  185  -rw-      102780   May 2 2013 13:48:16 +08:00  .Cisco_CME.05_01_2013_14_48_17.341
  186  -rw-      135704   May 2 2013 17:48:16 +08:00  .Cisco_CME.05_02_2013_14_26_57.749
  187  -rw-      234159   May 3 2013 18:19:24 +08:00  .Cisco_CME.05_02_2013_18_33_10.298
  188  -rw-       20888   May 4 2013 18:19:24 +08:00  .Cisco_CME.05_03_2013_19_19_25.382
  189  -rw-         288   May 5 2013 18:19:24 +08:00  .Cisco_CME.05_04_2013_19_19_25.759
  190  -rw-      181064   May 6 2013 18:19:26 +08:00  .Cisco_CME.05_05_2013_19_19_26.157
  191  -rw-      164335   May 7 2013 18:19:26 +08:00  .Cisco_CME.05_06_2013_19_19_26.692
  192  -rw-      145184   May 8 2013 18:19:26 +08:00  .Cisco_CME.05_07_2013_19_19_27.189
  193  -rw-      196388   May 9 2013 18:19:26 +08:00  .Cisco_CME.05_08_2013_19_19_27.692
  194  -rw-      188342  May 10 2013 18:19:28 +08:00  .Cisco_CME.05_09_2013_19_19_28.193
  195  -rw-        3355  May 11 2013 18:19:28 +08:00  .Cisco_CME.05_10_2013_19_19_28.676
  196  -rw-         288  May 12 2013 18:19:28 +08:00  .Cisco_CME.05_11_2013_19_19_29.068
  197  -rw-      143525  May 13 2013 18:19:28 +08:00  .Cisco_CME.05_12_2013_19_19_29.529
  198  -rw-      218524  May 14 2013 18:19:30 +08:00  .Cisco_CME.05_13_2013_19_19_30.107
  199  -rw-      276273  May 15 2013 18:19:30 +08:00  .Cisco_CME.05_14_2013_19_19_30.615
  200  -rw-      356986  May 16 2013 18:19:30 +08:00  .Cisco_CME.05_15_2013_19_19_31.173
  201  -rw-      265631  May 17 2013 18:19:30 +08:00  .Cisco_CME.05_16_2013_19_19_31.702
  202  -rw-       28480  May 18 2013 18:19:32 +08:00  .Cisco_CME.05_17_2013_19_19_32.223
  203  -rw-         288  May 19 2013 18:19:32 +08:00  .Cisco_CME.05_18_2013_19_19_32.660
  204  -rw-      164562  May 20 2013 18:19:32 +08:00  .Cisco_CME.05_19_2013_19_19_33.120
  205  -rw-      226719  May 21 2013 18:19:32 +08:00  .Cisco_CME.05_20_2013_19_19_33.594
  206  -rw-      115571  May 22 2013 18:19:34 +08:00  .Cisco_CME.05_21_2013_19_19_34.161
  207  -rw-       29961  May 23 2013 11:19:34 +08:00  .Cisco_CME.05_22_2013_19_19_34.829
  208  -rw-       10772  May 23 2013 13:45:56 +08:00  .Cisco_CME.05_23_2013_13_45_56.921
  209  -rw-      110312  May 24 2013 14:22:32 +08:00  .Cisco_CME.05_23_2013_15_22_33.059
  210  -rw-       12011  May 25 2013 14:22:32 +08:00  .Cisco_CME.05_24_2013_15_22_33.484
  211  -rw-         288  May 26 2013 14:22:34 +08:00  .Cisco_CME.05_25_2013_15_22_33.959
  212  -rw-      131056  May 27 2013 14:22:34 +08:00  .Cisco_CME.05_26_2013_15_22_34.422
  213  -rw-      314788  May 28 2013 14:22:34 +08:00  .Cisco_CME.05_27_2013_14_48_38.008
  214  -rw-      162663  May 29 2013 14:22:34 +08:00  .Cisco_CME.05_28_2013_14_55_03.213
  215  -rw-      134370  May 30 2013 14:22:36 +08:00  .Cisco_CME.05_29_2013_15_22_35.896
  216  -rw-      157608  May 31 2013 14:22:36 +08:00  .Cisco_CME.05_30_2013_15_09_19.128
  217  -rw-       34406   Jun 1 2013 14:22:36 +08:00  .Cisco_CME.05_31_2013_15_22_36.965
  218  -rw-         288   Jun 2 2013 14:22:36 +08:00  .Cisco_CME.06_01_2013_15_22_37.387
  219  -rw-      125402   Jun 3 2013 14:22:38 +08:00  .Cisco_CME.06_02_2013_15_22_37.851
  220  -rw-      268446   Jun 4 2013 14:22:38 +08:00  .Cisco_CME.06_03_2013_15_12_53.138
  221  -rw-      292077   Jun 5 2013 14:22:38 +08:00  .Cisco_CME.06_04_2013_14_41_16.422
  222  -rw-      159694   Jun 6 2013 14:22:38 +08:00  .Cisco_CME.06_05_2013_15_09_37.098
  223  -rw-      125817   Jun 7 2013 14:22:40 +08:00  .Cisco_CME.06_06_2013_14_45_37.546
  224  -rw-       69661   Jun 8 2013 14:22:40 +08:00  .Cisco_CME.06_07_2013_15_22_40.322
  225  -rw-         288   Jun 9 2013 14:22:40 +08:00  .Cisco_CME.06_08_2013_15_22_40.765
  226  -rw-       74039  Jun 10 2013 14:22:40 +08:00  .Cisco_CME.06_09_2013_15_22_41.234
  227  -rw-      257951  Jun 11 2013 14:22:42 +08:00  .Cisco_CME.06_10_2013_15_22_41.832
  228  -rw-      188746  Jun 12 2013 14:22:42 +08:00  .Cisco_CME.06_11_2013_14_45_59.445
  229  -rw-      301630  Jun 13 2013 14:22:42 +08:00  .Cisco_CME.06_12_2013_14_30_09.305
  230  -rw-      233876  Jun 14 2013 14:22:42 +08:00  .Cisco_CME.06_13_2013_15_22_43.409
  231  -rw-      162152  Jun 15 2013 13:22:44 +08:00  .Cisco_CME.06_14_2013_14_56_00.006
  232  -rw-       27581  Jun 16 2013 15:51:26 +08:00  .Cisco_CME.06_15_2013_16_50_04.873
  233  -rw-       66644  Jun 17 2013 15:51:26 +08:00  .Cisco_CME.06_16_2013_16_51_26.929
  234  -rw-      195516  Jun 18 2013 15:51:26 +08:00  .Cisco_CME.06_17_2013_16_51_27.665
  235  -rw-       48052  Jun 19 2013 10:04:00 +08:00  .Cisco_CME.06_18_2013_16_51_28.266
  236  -rw-       21989  Jun 19 2013 11:10:40 +08:00  .Cisco_CME.06_19_2013_11_10_41.364
  237  -rw-       10452  Jun 19 2013 12:39:04 +08:00  .Cisco_CME.06_19_2013_12_39_03.841
  238  -rw-      170182  Jun 20 2013 13:22:10 +08:00  .Cisco_CME.06_19_2013_14_20_47.941
  239  -rw-      114045  Jun 21 2013 13:22:12 +08:00  .Cisco_CME.06_20_2013_14_22_12.045
  240  -rw-       71196  Jun 22 2013 13:22:12 +08:00  .Cisco_CME.06_21_2013_14_22_12.580
  241  -rw-         288  Jun 23 2013 13:22:12 +08:00  .Cisco_CME.06_22_2013_14_22_13.061
  242  -rw-       82545  Jun 24 2013 13:22:12 +08:00  .Cisco_CME.06_23_2013_14_22_13.576
  243  -rw-      190797  Jun 25 2013 13:22:14 +08:00  .Cisco_CME.06_24_2013_14_22_14.381
  244  -rw-       86147  Jun 26 2013 13:22:14 +08:00  .Cisco_CME.06_25_2013_14_22_14.975
  245  -rw-      176571  Jun 27 2013 13:22:14 +08:00  .Cisco_CME.06_26_2013_14_22_15.546
  246  -rw-      257492  Jun 28 2013 13:22:16 +08:00  .Cisco_CME.06_27_2013_14_22_16.026
  247  -rw-      116297  Jun 29 2013 13:22:16 +08:00  .Cisco_CME.06_28_2013_14_22_16.568
  248  -rw-         288  Jun 30 2013 13:22:16 +08:00  .Cisco_CME.06_29_2013_14_22_17.069
  249  -rw-          12  Jun 30 2013 14:22:16 +08:00  .Cisco_CME.06_30_2013_14_22_17.546
  250  -rw-       57491   Jul 1 2013 10:15:44 +08:00  .Cisco_CME.06_30_2013_16_15_44.869
  251  -rw-      185172   Jul 2 2013 11:10:34 +08:00  .Cisco_CME.07_01_2013_12_10_35.196
  252  -rw-      139536   Jul 3 2013 11:10:36 +08:00  .Cisco_CME.07_02_2013_12_09_01.178
  253  -rw-      173846   Jul 4 2013 11:10:36 +08:00  .Cisco_CME.07_03_2013_12_10_36.384
  254  -rw-       82194   Jul 5 2013 11:10:36 +08:00  .Cisco_CME.07_04_2013_12_10_36.954
  255  -rw-      138188   Jul 6 2013 11:10:36 +08:00  .Cisco_CME.07_05_2013_11_37_26.892
  256  -rw-         288   Jul 7 2013 11:10:38 +08:00  .Cisco_CME.07_06_2013_12_10_38.060
  257  -rw-       63627   Jul 8 2013 11:10:38 +08:00  .Cisco_CME.07_07_2013_12_10_38.497
  258  -rw-      213349   Jul 9 2013 11:10:38 +08:00  .Cisco_CME.07_08_2013_11_59_19.452
  259  -rw-      219600  Jul 10 2013 11:10:38 +08:00  .Cisco_CME.07_09_2013_11_29_20.554
  260  -rw-      162527  Jul 11 2013 11:10:40 +08:00  .Cisco_CME.07_10_2013_11_44_10.689
  261  -rw-      145905  Jul 12 2013 11:10:40 +08:00  .Cisco_CME.07_11_2013_12_10_40.767
  262  -rw-      182203  Jul 13 2013 11:10:40 +08:00  .Cisco_CME.07_12_2013_11_40_34.991
  263  -rw-        1012  Jul 14 2013 11:10:40 +08:00  .Cisco_CME.07_13_2013_12_10_41.735
  264  -rw-       30737  Jul 15 2013 11:10:42 +08:00  .Cisco_CME.07_14_2013_12_10_42.198
  265  -rw-      104722  Jul 16 2013 11:10:42 +08:00  .Cisco_CME.07_15_2013_12_10_42.811
  266  -rw-      156110  Jul 17 2013 11:10:42 +08:00  .Cisco_CME.07_16_2013_12_10_43.387
  267  -rw-      205558  Jul 18 2013 11:10:44 +08:00  .Cisco_CME.07_17_2013_11_49_19.260
  268  -rw-      160611  Jul 19 2013 11:10:44 +08:00  .Cisco_CME.07_18_2013_12_10_44.487
  269  -rw-       65738  Jul 20 2013 11:10:44 +08:00  .Cisco_CME.07_19_2013_12_10_44.922
  270  -rw-       10518  Jul 21 2013 11:10:44 +08:00  .Cisco_CME.07_20_2013_12_10_45.349
  271  -rw-       67450  Jul 22 2013 11:10:46 +08:00  .Cisco_CME.07_21_2013_12_10_45.800
  272  -rw-      136854  Jul 23 2013 11:10:46 +08:00  .Cisco_CME.07_22_2013_12_10_46.589
  273  -rw-      181513  Jul 24 2013 11:10:46 +08:00  .Cisco_CME.07_23_2013_11_38_24.938
  274  -rw-      162726  Jul 25 2013 11:10:46 +08:00  .Cisco_CME.07_24_2013_11_57_32.623
  275  -rw-      162994  Jul 26 2013 11:10:48 +08:00  .Cisco_CME.07_25_2013_12_10_48.070
  276  -rw-      149699  Jul 27 2013 11:10:48 +08:00  .Cisco_CME.07_26_2013_11_53_35.876
  277  -rw-         288  Jul 28 2013 11:10:48 +08:00  .Cisco_CME.07_27_2013_12_10_49.082
  278  -rw-       90787  Jul 29 2013 11:10:48 +08:00  .Cisco_CME.07_28_2013_12_10_49.526
  279  -rw-      215038  Jul 30 2013 11:10:50 +08:00  .Cisco_CME.07_29_2013_12_10_50.152
  280  -rw-      186896  Jul 31 2013 11:10:50 +08:00  .Cisco_CME.07_30_2013_11_40_11.285
  281  -rw-      219528   Aug 1 2013 11:10:50 +08:00  .Cisco_CME.07_31_2013_11_29_15.112
  282  -rw-      196051   Aug 2 2013 11:10:52 +08:00  .Cisco_CME.08_01_2013_11_44_07.126
  283  -rw-       73231   Aug 3 2013 11:10:52 +08:00  .Cisco_CME.08_02_2013_12_10_52.380
  299  drw-           0  Jul 14 2014 17:22:56 +08:00  CME 9.1.0 GUI

 

Thanks

Hi

 

can you try the below:-

rmdir flash:CME 9.1.0 GUI

or

rmdir flash:/CME 9.1.0 GUI/

 

Thanks

please rate all useful information

Hi,

It is still same.

 

Cisco_CME#rmdir flash:CME 9.1.0 GUI
                                                     ^
% Invalid input detected at '^' marker.

Cisco_CME#rmdir flash:/CME 9.1.0 GUI/
                                                      ^
% Invalid input detected at '^' marker.

 

Thank you.

Hi

Look the problem because the space. Can you try the below:-

 

1-router# rename flash:/CME 9.1.0 GUI  GUI

2-dir

3-show flash "to make sure that you get GUI new folder".

4-Try again rmdir flash:/GUI

 

Thanks

please rate all useful information

 

Hi,

Same error.

Cisco_CME#rename flash:/CME 9.1.0 GUI  GUI
                                                          ^
% Invalid input detected at '^' marker.

 

Thank you

Hi.

Try this

 

delete /force /recu "flash:CME 9.1.0 GUI"

 

HTH

 

Regards

 

Carlo

 

Please rate all helpful posts "The more you help the more you learn"

Hi Carlo,

It works. Thank you very much.

 

 

Hi

Glad that helped.

I've forgotten to mention that you need to use quotes when you need to create,modify or delete a spaced directory or file name on router's flash

 

 

Regards

 

Carlo

 

Please rate all helpful posts "The more you help the more you learn"

Thanks Its working for me too :)