How to rsynce the actual directory path instead of just the directory at the end of
Dear friends,
I am trying to figure out what is the problem with this. When I did rsync for the following : rsync -R -a -e ssh root@172.16.1.251:/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. |
Dear friends,
Sorry, what I did was rsync -a -e ssh root@172.16.1.251:/etc/host /etc not rsync -R -a -e ssh root@172.16.1.251:/etc/host /etc but both gave me the same error anyway. |
Isn't the file you want /etc/hosts and not /etc/host? Maybe that's your problem?
|
Quote:
|
Ia m sorry everyone, yes it is my probllem.....
really sorry..... |
Nah... dont worry about it. Happens to the best of us... it's just a sign that you need to stop looking at the screen so hard and go get yourself hammered this weekend.
|
All times are GMT -5. The time now is 01:31 PM. |