How to rsynce the actual directory path instead of just the directory at the end of
I am trying to figure out what is the problem with this. When I did rsync for the following :
rsync -R -a -e ssh firstname.lastname@example.org:/etc/host /etc
It gives me the following error:
link_stat "/etc/host" failed: No such file or directory
client: nothing to do: perhaps you need to specify some filenames or the --recursive option?
rsync error: some files could not be transferred (code 23) at main.c(653)
What is wrong here and how do I solve it?
Thanks for any help, friends.