Got it

How to delete files?

Latest reply: Mar 14, 2016 04:23:08 3142 1 0 0 0

Hi there, Community!


This post enquires about the procedure of how to delete files. Please see more below.


ISSUE DESCRIPTION


How to delete files? Please assist me with the procedure of how to delete files. Thanks in advance!

  • x
  • convention:

jack_6
Created Mar 14, 2016 04:23:08

Run the delete [ /unreserved ] [ /quiet ] { filename | devicename } [ all ] command to delete specified files including system files, configuration files, patch files, license files, and log files from a storage medium.

Delete a file from the storage medium.
<HUAWEI> delete test.txt
Delete flash:/test.txt?[Y/N]:y                     
Info: Deleting file flash:/test.txt...succeeded.  

NOTE:
The actual output information may differ from the preceding information.
The all parameter is supported only in a stack. If you specify the all parameter, you can delete all the files in the corresponding directories on all member devices in a batch.
Do not delete running version files (including system software, patch files, web page files, and configuration files) in the CLI. You can use the BootROM menu to delete running version files. After a version file is deleted, the device cannot restart using the version file. Exercise caution when you delete a version file.


Log files are stored in the logfile or syslogfile directory of the flash memory. You can access the logfile or syslogfile directory and then delete log files, or directly delete log files from the absolute path of the flash memory.

# Access the logfile directory and then delete log files.
<HUAWEI> cd logfile/
<HUAWEI> delete logfile-2013-01-24-09-15-03.zip 
Delete flash:/logfile/logfile-2013-01-24-09-15-03.zip?[Y/N]:y                     
Info: Deleting file flash:/logfile/logfile-2013-01-24-09-15-03.zip...succeeded.

# Delete log files from the absolute path of the flash memory.
<HUAWEI> delete flash:/logfile/logfile-2013-01-24-09-15-03.zip 
Delete flash:/logfile/logfile-2013-01-24-09-15-03.zip?[Y/N]:y                     
Info: Deleting file flash:/logfile/logfile-2013-01-24-09-15-03.zip...succeeded.

View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.