How Do I Delete Files?

Latest reply: Mar 14, 2016 12:23:08 2095 1 0 0
How Do I Delete Files?
  • x
  • convention:

jack_6 Created Mar 14, 2016 12:23:08 Helpful(0) Helpful(0)

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.

  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

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."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top