#!/bin/bash # for copying things with xargs destination="$1" shift cp -via "$@" "$destination" < /dev/null