A CL tool to quickly publish a directory to Amazon S3.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
spec
.gitignore
.ruby-gemset
.ruby-version
.travis.yml
Gemfile
LICENSE.txt
README.md
Rakefile
lobber.gemspec

README.md

Build Status Code Climate

Lobber

Quickly toss a directory to Amazon S3 from the command line.

Installation

gem install lobber

Usage

$ lob some_directory
some_directory/index.html -> index.html
some_directory/stylesheets/application.css -> stylesheets/application.css

Pass in a bucket name to substitute your $FOG_DIRECTORY env variable:

$ lob some_directory --bucket some_aws_bucket

Set --dry-run to just see what files would be uploaded:

$ log some_directory --dry-run

Set --no-verbose to suppress printing filenames while uploading:

$ log some_directory --no-verbose

Required Environment Variables

  • AWS_ACCESS_KEY=your_aws_access_key
  • AWS_SECRET_KEY=your_aws_secret_key
  • FOG_DIRECTORY=some_aws_bucket