It won't go. only either the source or the destination can be remote. In your examples, you pretty much duplicate the documentation on the same topic: ++++++++++++++++++++++++++++++++++++++++++++++++++++ GENERAL There are six different ways of using rsync. They are:
SunOS 5.7 Last change: 29 May 2001 1 User Commands rsync(1) o for copying local files. This is invoked when neither source nor destination path contains a : separator o for copying from the local machine to a remote machine using a remote shell program as the transport (such as rsh or ssh). This is invoked when the destination path contains a single : separator. o for copying from a remote machine to the local machine using a remote shell program. This is invoked when the source contains a : separator. o for copying from a remote rsync server to the local machine. This is invoked when the source path contains a :: separator or a rsync:// URL. o for copying from the local machine to a remote rsync server. This is invoked when the destination path con- tains a :: separator. o for listing files on a remote machine. This is done the same way as rsync transfers except that you leave off the local destination. Note that in all cases (other than listing) at least one of the source and destination paths must be local. ++++++++++++++++++++++++++++++++++++++++++++++++++++ Handy things, those man pages... Tim Conway [EMAIL PROTECTED] 303.682.4917 Philips Semiconductor - Longmont TC 1880 Industrial Circle, Suite D Longmont, CO 80501 Available via SameTime Connect within Philips, n9hmg on AIM perl -e 'print pack(nnnnnnnnnnnn, 19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), ".\n" ' "There are some who call me.... Tim?" Gautam Ganesh <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 02/18/2002 01:26 PM To: [EMAIL PROTECTED] cc: (bcc: Tim Conway/LMT/SC/PHILIPS) Subject: push data instead of pull Classification: Hi, I have a rsync server set up. Can i push data from the server to another machine instead of pulling data from that machine. when i try to do that i get this error. mkdir tohost:/tmp ; No such file or directory. But the directory exists. This is the command i executed. rsync -avz --rsync-path=/usr/bin/rsync fromhost::test tohost:/tmp This works fine if iam logged onto "tohost" and pull data i.e rsync -avz --rsync-path=/usr/bin/rsync fromhost::test /tmp This works fine if i do it without the server rsync -avz --rsync-path=/usr/bin/rsync /disk1/tmp tohost:/tmp I execute the above command logged on to the "fromhost" machine. let me know if iam doing anything wrong. thanks gautam ganesh __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com