BIG NEWS! The Adtran Support Community is moving! In the next few weeks it will be housed in a new location. Be sure to visit our NEW Adtran Community before the end of July to check it out and verify that you can access all the resources and features that you need. If you discover any issues with your account or access, or just want to let us know about your experience, be sure to use our Feedback Form to let us know!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Anonymous
Not applicable

Rename or Delete a file in flash which contains a space in filename?

Jump to solution

I uploaded a firmware file via the GUI which couldn't be assigned as a primary or secondary firmware boot.  I attempted to assign it as a boot file in the GUI and the file didn't show up in the drop down menu. I then went to the CLI and executed a show flash.  I saw the file in the list but noticed that it had a space in the filename.  I attempted to delete it and it returned an unrecognized command error.  I attempted to assign it to the primary or secondary boot and it returned and error both times.

I either need to delete the file and upload a copy without a space in the filename or I need to rename it. I need to free up this disk space.  Can this be done?

Thanks,

Dan

0 Kudos
1 Solution

Accepted Solutions
Anonymous
Not applicable

Re: Rename or Delete a file in flash which contains a space in filename?

Jump to solution

Levi supplied the answer to this directly via email...

To erase the file, issue the following command:

erase flash "NV3448A-R10-3-0-E (1).biz"

simply place the filename within quotes.

Solved.

View solution in original post

0 Kudos
2 Replies
Anonymous
Not applicable

Re: Rename or Delete a file in flash which contains a space in filename?

Jump to solution

Levi supplied the answer to this directly via email...

To erase the file, issue the following command:

erase flash "NV3448A-R10-3-0-E (1).biz"

simply place the filename within quotes.

Solved.

0 Kudos
coryf
New Contributor

Re: Rename or Delete a file in flash which contains a space in filename?

Jump to solution

This doesn't work on an Adtran 1234 1st Gen

This is what I found to work

Switch#erase "NV123XA-18-01-08-00 (1).biz"

Deleting NONVOL:/NV123XA-18-01-08-00 (1).biz... done.

Switch#

___

Switch#erase NV123XA-18-01-08-00 (1).biz

% Unrecognized command

Switch#dir

            139 000000000000.cfg

        4665357 NV123XA-18-01-08-00 (1).biz

           5414 startup-config.bak

Switch#erase flash "NV123XA-18-01-08-00 (1).biz"

% Unrecognized command