s3rsync
Wrapper gem used to sync files with s3cmd tool. Remote update protocol between local set of files and S3 storage.
Prerequisites
You will need the following:
- Ruby 1.9+
- Bundler
- s3cmd
Installation
Add this line to your application's Gemfile:
gem 's3rsync'
And then execute:
$ bundle
Or install it yourself as:
$ gem install s3rsync
Usage
$ s3rsync help [COMMAND] # Describe expanded available commands or one specific command
$ s3rsync upload -c, --config-path=CONFIG_PATH -p, --path=PATH # Sync local path to s3 location
$ s3rsync download -c, --config-path=CONFIG_PATH -p, --path=PATH # Sync from s3 to local path
Configuration
json config s3rsync.json.example
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