Ohajiki
Minimum Dropbox clone using Ruby and Git
Installation
$ gem install ohajiki
Usage
Write config file
REMOTE_REPO_URL = 'https://github.com/kitak/ohajiki_howm.git' # Your remote repository url (necessary entry)
SYNC_DIR_PATH = '/Users/kitak/.ohajiki' # Sync target (necessary entry)
SYNC_INTERVAL_SEC = 5 # Polling interval (optional entry. default 10)
LOG_PATH = '/tmp/ohajiki.log' # Logfile location (optional entry. default /tmp/ohajiki.log)
start
ohajiki start -- -c ohajiki.conf
stop
ohajiki stop
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request