Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Library for accessing S3 objects and buckets, supports EU and US buckets
Ruby

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
extra
lib
test
.document
.gitignore
LICENSE
README.rdoc
Rakefile
VERSION
stree.gemspec

README.rdoc

Stree

Usage

Coming soon, see Rdoc documentation.

Command tool usage

You have to pass access key id (-a) and secret access key (-s) to the command line tool. Stree reads ACCESS_KEY_ID and SECRET_ACCESS_KEY environment variables and uses them by default, so if you don't want to pass them each time, export them (e.g. in .bashrc file).

  • list buckets stree bucket

  • create bucket stree bucket add name-of-bucket

  • list objects in bucket stree bucket show name-of-bucket

  • destroy bucket stree bucket remove name-of-bucket

  • list objects (in all buckets) stree object

  • show the object information stree object show bucket_name/path/to/object.extension

  • download the content of the object stree object show bucket_name/path/to/object.extension filename_to_store_the_content.extension

  • show the content of the object to STDOUT stree object show bucket_name/path/to/object.extension -

You can also pass –help to the commmands like:

stree bucket add --help
stree object show --help

Copyright

Copyright © 2009 Jakub Kuźma, Mirosław Boruta. See LICENSE for details.

Something went wrong with that request. Please try again.