How to delete files in batches

Created: Aug 23, 2019 12:24:25Latest reply: Aug 23, 2019 12:25:51 53 1 0 0
  Rewarded Hi-coins: 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



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



This article contains more resources

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

x
  • x
  • convention:

Reply

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

Notice 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 and enjoy all the member benefits

Login