Use POSIX -R instead of -r in copy for better portability
In MacOS, -r will exit with 1 if any broken symlinks are encountered. -r is "implementation-defined" according to POSIX. -R is well defined.
Loading
Please register or sign in to comment
In MacOS, -r will exit with 1 if any broken symlinks are encountered. -r is "implementation-defined" according to POSIX. -R is well defined.