1 2 3 4 5
# Move files into created directory in one call mkmv() { mkdir -p -- "${@: -1}" && mv -- "$@" }