If you’re dealing with a lot of files and get messages like:
mv *.* tmp/
-bash: /bin/mv: Argument list too long
then you need xargs.
xargs is a command of the Unix and most Unix-like operating systems. It becomes useful when you want to pass a large amount of arguments to a command. In that case xargs will break the list of arguments in sublists large enough to be acceptable.