Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rsync: pure Ruby implementation?

Tags:

ruby

rsync

I have a Rsync program Deltacopy with an executable as client and server but would like to replace this if possible with a pure Ruby implementation of Rsync. I found gems like six-rsync and rsync-update but they seem to be no general implementations. I'm looking for a pure Ruby solution, so no executables involved and preferably runnable on multiple OS. If possible a simple sample would be great.

I only look for Rsync, no other transfer or backup solutions please.

like image 451
peter Avatar asked Nov 29 '12 21:11

peter


1 Answers

There's this:

  • "Cheapest Rsync Replacement (with Ruby)"
    • Archived dzone: https://web.archive.org/web/20090101014459/http://snippets.dzone.com/posts/show/1812
    • Archived original: https://web.archive.org/web/20070615023341/http://eigenclass.org/hiki.rb?cheap+rsync
  • https://github.com/avh4/ruby-sync
    • "A full file synchronisation library for ruby, supports syncing/mirroring with local and FTP/SSH directories."
  • http://synchzor.com/

Best of luck, sir.

like image 85
shashin Avatar answered Oct 19 '22 15:10

shashin