Merge Vertices by Distance & Center
Change the Pivot point to individual origins



Also. when you find yourself doing the same thing on many similar pieces, it is time to think of using instancing or arrays, so that you edit only one object and the copies are changed as well.