How to use the xargs argument twice in the command on Linux?

How to use the xargs argument twice in the command on Linux? For example, to rename file to file.bak where file is from the stdin: xargs mv $file $file.bak One solution is to write a small script like move.sh file=$1 mv $file $file.bak and invoke move.sh by xargs xargs move.sh However, it is very inconvenient […]