## Summary `cp --recursive` is GNU-specific and not recognized by BSD `cp` on macOS. BSD `cp` treats `--recursive` as a third path argument, producing `cp: --recursive: Not a directory`. This replaces `--recursive` (placed after operands) with the POSIX-portable `-r` flag placed before operands, which works on both Linux and macOS. --- > Generated by Coder Agents on behalf of @nickvigilante