Sha256: db7edf9041d50045af6b1ffac4b2af4be7b48244d3927384f9b96d8ba3d68fcf
Contents?: true
Size: 253 Bytes
Versions: 1
Compression:
Stored size: 253 Bytes
Contents
module Rbfs module Rsync def sync(config) command = "rsync -ave ssh --delete #{config[:root]} #{ip}:#{config[:root]}" command += " -n" if config[:dry] result = `#{command}` puts result if config[:verbose] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rbfs-0.0.2 | lib/rbfs/rsync.rb |