to and fro

взад и вперёд, туда и сюда

The train was full of people; the guard went to and fro opening and closing the doors.

Другие идиомы: