InteractiveS3
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
:
- local file 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
Contributing
- Fork it ( http://github.com/
/interactive_s3/fork ) - 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