Message from discussion
rsync functionality in Ruby?
Path: g2news2.google.com!news2.google.com!news.glorb.com!news.erinye.com!talisker.lacave.net!lacave.net!not-for-mail
From: Bob Hutchison <hu...@recursive.ca>
Newsgroups: comp.lang.ruby
Subject: Re: rsync functionality in Ruby?
Date: Sun, 2 Sep 2007 00:05:32 +0900
Organization: Service de news de lacave.net
Lines: 32
Message-ID: <25B4F282-1CB7-42A6-B922-83367D97C153@recursive.ca>
References: <fb9gpu$c16$1@news.nems.noaa.gov> <1188591141.319291.212730@22g2000hsm.googlegroups.com>
NNTP-Posting-Host: bristol.highgroove.com
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: talisker.lacave.net 1188659149 96553 65.111.164.187 (1 Sep 2007 15:05:49 GMT)
X-Complaints-To: abuse@lacave.net
NNTP-Posting-Date: Sat, 1 Sep 2007 15:05:49 +0000 (UTC)
X-received-from: This message has been automatically forwarded from the
ruby-talk mailing list by a gateway at comp.lang.ruby. If it is
SPAM, it did not originate at comp.lang.ruby. Please report the
original sender, and not us. Thanks!
Please see http://hypermetrics.com/rubyhacker/clrFAQ.html#tag24 too.
X-rubymirror: yes
In-Reply-To: <1188591141.319291.212730@22g2000hsm.googlegroups.com>
X-ML-Name: ruby-talk
X-Mail-Count: 267090
X-ruby-talk: <25B4F282-1CB7-42A6-B922-83367D97C...@recursive.ca>
On 31-Aug-07, at 4:15 PM, dusty wrote:
> I haven't found any either, but I do have a nagios plugin using rsync
> to check the timestamps on remote files over rsync. New to posting
> here, whats the best way to post code? Include it inline? I'd be
> happy to share if you want it. I basically use open4 to call rsync
> and then parse the results. It might be helpful in your wheel
> project. :)
Is this rsync+ssh? If so, what did you handle passwords when making
the connection (I wound up going though disgusting conniptions using
expect)? I know that you can avoid login by setting up .ssh/
known_hosts but that is frowned upon in some circles.
Cheers,
Bob
>
> Dusty Doris
----
Bob Hutchison -- tumblelog at http://
www.recursive.ca/so/
Recursive Design Inc. -- weblog at http://www.recursive.ca/
hutch
http://www.recursive.ca/ -- works on http://www.raconteur.info/
cms-for-static-content/home/