Here’s a similar thread with some ideas:
Here’s what I often do: a checkbox column to select items to modify, then a button to apply the change in bulk (in this case there’s complicated logic behind those actions):