# Copy files into created directory in one call mkcp() { mkdir -p -- "${@: -1}" && cp -- "$@" }