Problem

rsync copy

Details

bash: warning: setlocale: LC_ALL: cannot change locale (en_GB.UTF-8)
bash: line 1: rsync: command not found
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at /AppleInternal/Library/BuildRoots/a0876c02-1788-11ed-b9c4-96898e02b808/Library/Caches/com.apple.xbs/Sources/rsync/rsync/io.c(453) [sender=2.6.9]

Solution

Install rsync on server

rsync macos linux
Follow me on Twitter! It's free!