Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

File sync script for OS X

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitginore
Octocat-spinner-32 Makefile
Octocat-spinner-32 README
Octocat-spinner-32 syncer
Octocat-spinner-32 syncer2.0
README
Based on mxcl's work here: https://gist.github.com/149491/

This is a ruby script that uses Mac OS X's FSevents API and rsync to sync changes from the local file system to a remote location. It can be invoked like this from within the directory you want to sync:

ruby syncer2.0 -e excluded_file -f -r -s -p 2222 -u username -H myhost.com -d "/the/remote/directory/"

growlnotify and ruby gems must be installed on your system.

To install ruby gems:
curl -O http://files.rubyforge.vm.bytemark.co.uk/rubygems/rubygems-1.3.5.tgz
tar xzvf rubygems-1.3.5.tgz
cd rubygems-1.3.5
sudo /usr/bin/ruby setup.rb
sudo gem install rb-fsevent

Something went wrong with that request. Please try again.