Project

rsync

0.24
No release in over 3 years
Low commit activity in last 3 years
There's a lot of open issues
Ruby/Rsync is a Ruby library that can syncronize files between remote hosts by wrapping a call to the rsync binary.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 0
 Project Readme

Rsync

Build Status Code Climate Gem Version Coverage Status Dependency Status

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