I want to copy files from one server (server A) to another (server B) using rsync (yes, only rsync).
When using rsync on server A it returns:
bash: /usr/local/bin/rsync: No such file or directory
Typing in rsync on server A and server B both show up information about rsync so it is available. But I discovered that on server A the rsync command is located in /usr/local/bin/rsync
, while on server B it is located in /usr/bin/rsync
.
How do I tell rsync that on server A rsync is located in path /usr/bin/rsync
?
Server A runs on SunOS and server B runs on Linux.