I am just starting to learn how to use rsync, as I am trying to copy files from one server to another. I am using the following command:
rsync -avzP email@example.com:/public_html/abc/ /www/abc
After entering the other server's password, I then get the following message:
stdin: is not a tty receiving incremental file list rsync: change_dir "/public_html/abc" failed: No such file or directory (2) sent 8 bytes received 101 bytes 8.72 bytes/sec total size is 0 speedup is 0.00 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1655) [Receiver=3.1.1]
However, directory abc does exist, I can browse it etc. There are no spaces in the name.
Any ideas what this may be caused by?