Hundreds 'pushed' to border and many others put in detention centres as part of a crackdown on undocumented migrants.