Hundreds of attachments can only be deleted one-by-one, not multiple choices. Is there a way to optimize them?

Hundreds of attachments can only be deleted one-by-one, not multiple choices. Is there a way to optimize them?
thanks

Please don’t post duplicate posts.