If you just need to append data remotely, you can use an ssh pipe and
perl:

echo text | ssh remotemachine "perl -we 'print <STDIN>' >> remotefile"

On Wed, 04 Sep 2002, Timothy Wilson wrote:

> On Wed, Sep 04, 2002 at 10:07:41PM -0500, Jim Streit wrote:
> > 
> > What I want to do is have a script running on server A that appends data
> > to to a file on server A and appends data to server B, and server C.
> > 
> > I was thinking that I could have the script do an rsync and pull the
> > latest version of the remote file, append the data, then rsync and push
> > the file back out with the update option.  Sounds like a lot of hassel and
> > I'm looking for a better way.
> 
> I don't think it would necessarily be a hassle. If you set up RSA
> authentication on the servers, then you could use rsync over ssh to do
> this pretty easily I would think.
> 
> -Tim
> 
> -- 
> Tim Wilson      |   Visit Sibley online:   | Check out:
> Henry Sibley HS |  http://www.isd197.org   | http://www.zope.com
> W. St. Paul, MN |                          | http://slashdot.org
> wilson at visi.com |  <dtml-var pithy_quote>  | http://linux.com
> _______________________________________________
> Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul, Minnesota
> http://www.mn-linux.org
> tclug-list at mn-linux.org
> https://mailman.mn-linux.org/mailman/listinfo/tclug-list