My issue is an odd one. I am logged into my University's server with my host name and all that good stuff. I am able to copy files from my local computer into my school's account. My issue, is the other way around. I am unable to transfer files from the school's server onto my local computer. I am fairly certain I have the syntax correct:
rsync -v username@hostname:~/hw0/hello.cpp .
the issue is, is that it copies it the home directory in my schools computer. Anyone know how to fix this?
Or even worse, if I use:
rsync -v username@hostname:~/hw0/hello.cpp /Users/anthony
I get the error message:
rsync: change_dir#3 "Users" failed: No such file or directory(2)
rsync error: errors selecting input/output files, dirs (code 3) at main.c(694) [Receiver=3.1.1]
So overall, I am pretty sure the issue is, is that the command on my school's server is trying to send it within the server, i.e. NOT to my local computer.