Trying to delete a batch of files and you get the message `rm Argument list too long`

Remove files in batches of 100:

echo *.tmp | xargs -n 100 rm