Sha256: 77c8807c66f9f5ae55525a35e5730d9b5ad6570ee96f4254c8887e673fa55a91

Contents?: true

Size: 550 Bytes

Versions: 1

Compression:

Stored size: 550 Bytes

Contents

# Rsync

[![Build Status](https://travis-ci.org/jbussdieker/ruby-rsync.png?branch=master)](https://travis-ci.org/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

    require "rsync"

    Rsync.command(["/path/to/source", "/path/to/destination"]) 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-0.0.1 README.md