Skip to content

yamayo/interactive_s3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InteractiveS3 Build Status Code Climate

InteractiveS3 is an interactive shell that can be easily extended with commands using a aws s3 in the AWS Command Line Interface.

Requirements

  • Ruby (=> 2.0.0)
  • AWS CLI (~> 1.5.1)

Installation

$ gem install interactive_s3

Usage

Start

InteractiveS3 is run from the command line.

$ is3

Available commands

  • cd : Change the current path.
  • pwd : Show the current path.
  • lls : Show local file list.
  • exit : Quit InteractiveS3.

And aws s3 commands.

Examples

s3> ls
2014-08-07 00:22:58 my-bucket
s3> cd my-bucket
s3://my-bucket> ls
2014-08-11 00:23:56          4 .
2014-08-20 01:31:34          5 foo
s3://my-bucket> lls
bar.txt

A line of input that begins with a ':' will be forwarded to the local path prefix.

s3://my-bucket> cp :bar.txt .
upload: ./bar.txt to s3://mybucket/bar.txt
s3://my-bucket> ls
2014-08-11 00:23:56          4 .
2014-08-20 01:31:34          5 foo
2014-10-19 22:37:43         31 bar.txt

Inspired By

About

An interactive shell for AWS CLI (aws s3)

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages