LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-08-2005, 01:18 AM   #1
Niceman2005
Member
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Rep: Reputation: 30
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.
 
Old 04-08-2005, 01:21 AM   #2
Niceman2005
Member
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Original Poster
Rep: Reputation: 30
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.
 
Old 04-08-2005, 07:50 AM   #3
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
Isn't the file you want /etc/hosts and not /etc/host? Maybe that's your problem?
 
Old 04-08-2005, 09:10 AM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Quote:
Originally posted by Donboy
Isn't the file you want /etc/hosts and not /etc/host? Maybe that's your problem?
That is most likely the problem. I don't know of any Linux systems that have a "host" file in /etc.. just the hosts file
 
Old 04-08-2005, 07:16 PM   #5
Niceman2005
Member
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Original Poster
Rep: Reputation: 30
Ia m sorry everyone, yes it is my probllem.....

really sorry.....
 
Old 04-08-2005, 07:58 PM   #6
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
which is the correct directory path? verbatim Programming 1 04-24-2005 11:22 PM
remove directory from a users PATH reddazz Linux - General 4 01-14-2005 10:29 AM
Getting actual directory name subu_s Programming 6 01-13-2005 07:59 AM
What directory path is a good one to compile in? XeoNoX Programming 1 08-19-2004 12:12 AM
tar with directory path scatterbrain Linux - General 2 03-15-2004 11:05 PM


All times are GMT -5. The time now is 06:51 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration