Sha256: 4e2edd10b1e911e8fe585731c61b0c5252ab86cfb99d2cd4e916863762d8295e
Contents?: true
Size: 1.11 KB
Versions: 1
Compression:
Stored size: 1.11 KB
Contents
# Rsync [](https://travis-ci.org/jbussdieker/ruby-rsync) [](https://codeclimate.com/github/jbussdieker/ruby-rsync) [](http://badge.fury.io/rb/rsync) [](https://coveralls.io/r/jbussdieker/ruby-rsync) [](https://gemnasium.com/jbussdieker/ruby-rsync) Ruby/Rsync is a Ruby library that can syncronize files between remote hosts by wrapping a call to the rsync binary. ## Usage Minimal example ```ruby require "rsync" result = Rsync.run("/path/to/src", "/path/to/dest") ``` Complete example ```ruby require "rsync" Rsync.run("/path/to/src", "/path/to/dest") do |result| if result.success? result.changes.each do |change| puts "#{change.filename} (#{change.summary})" end else puts result.error end end ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rsync-1.0.9 | README.md |