Deleting all items at once

How can I delete all the stock items that I have created at once? Presently I’m only able to delete maximum 500 items at a time. Further, it shows “time out” message when I select 500 and therefore have to restrict the no. of items to around 100 at a time.
What is the solution?

I believe you need a script for this. And do bench execute path_to_your_script

Hi @irfanzck! Why not delete it via database?

delete from `tabItem` where desired_parameter_here