a sort-of front-end for Rsync
Add this line to your application's Gemfile:
gem 'syncr'
And then execute:
$ bundle
Or install it yourself as:
$ gem install syncr
# Simple example
Syncr.start(local: '/home/user/Projects', external: 'backup-server:/backups/Projects')
# More advanced example
# NOTE: Two way syncing does not work with remote directories, so not over SSH
s = Syncr.new(local: '/home/user/Projects', external: '/mnt/backup/Projects', two_way_syncing: true)
s.start
Bug reports and pull requests are welcome on GitHub at https://github.com/layer8x/syncr.