TIL that in commands such as cp
, scp
, and zip
, it is preferable to use the
command's native recursive options (e.g.,-r
, -R
) instead of wildcards (e.g.,
*
). The reason is to avoid unexpected errors, such as -bash: /usr/bin/zip: Argument list too long
.