Devices with reciprocated pushing bars or like driving mechanisms combined with the track for shunting or hauling cars