Sha256: 9bebf8f9b9b50a0e2349cc2c66b5712b4d4673bc543c18c145725cbfbc6ba922
Contents?: true
Size: 863 Bytes
Versions: 6
Compression:
Stored size: 863 Bytes
Contents
# Rsync [](https://travis-ci.org/jbussdieker/ruby-rsync) [](https://codeclimate.com/github/jbussdieker/ruby-rsync) [](http://badge.fury.io/rb/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 require "rsync" result = Rsync.run("/path/to/src", "/path/to/dest") Complete example 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
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
rsync-1.0.8 | README.md |
rsync-1.0.7 | README.md |
rsync-0.0.6 | README.md |
rsync-0.0.5 | README.md |
rsync-0.0.4 | README.md |
rsync-0.0.3 | README.md |