Use '-R' instead of '--recursive' for compatibility with MacOS.