Got it

How to delete files in batches

Created: Aug 23, 2019 12:24:25Latest reply: Aug 23, 2019 12:25:51 277 1 0 0
  Rewarded HiCoins: 0 (problem resolved)

I need to upgrade the S5700, but there is no enough space on the switch for uploading the new software package, so I have to delete some logs to get more space.

But it is so slow to delete the logs one by one. Is there a way to delete files in batches?


  • x
  • convention:

Featured Answers
Popeye_Wang
Admin Created Aug 23, 2019 12:25:51 Helpful(0) Helpful(0)

Hi Sprout,
You can use the wildcard "*" to delete files in batch. When deleting files, you need to select yes for each file.
<switch>delete /unreserved  *.zip       //delete all zip files.
<switch>delete /unreserved  2018-07-30.*.zip    //delete the logs of a day.How to delete files in batches-3042945-1



View more

This article contains more resources

You need to log in to download or view. No account? Register

x
  • x
  • convention:

All Answers
Popeye_Wang
Popeye_Wang Admin Created Aug 23, 2019 12:25:51 Helpful(0) Helpful(0)

Hi Sprout,
You can use the wildcard "*" to delete files in batch. When deleting files, you need to select yes for each file.
<switch>delete /unreserved  *.zip       //delete all zip files.
<switch>delete /unreserved  2018-07-30.*.zip    //delete the logs of a day.How to delete files in batches-3042945-1



View more

This article contains more resources

You need to log in to download or view. No account? Register

x
  • 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

Huawei Enterprise Support Community
Huawei Enterprise Support Community
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.