1 2 3 4 5 6
#!/bin/sh # emulate mv -t, for use with `find ... -exec mvt ... '{}' \+`, more POSIX compliant dist="$1" shift mv -- "$@" "$dist"