The S3 command-line tool is the most reliable way of interacting with Amazon Web Services' Simple Storage Service (AWS S3). This article will guide you through setting it up and using it for common tasks.
Applications/Utilities
.Run the following commands:
curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip" unzip awscli-bundle.zip ./awscli-bundle/install -b ~/bin/aws |
To verify that the tool is properly installed, run the following command
aws help |
$ aws s3 ls s3://bucket-name/path/to/file PRE dir1/ PRE dir2/ 2015-01-01 10:10:10 1234 File1.zip 2015-01-02 11:11:11 7654321 File2.pdf |
This directory contains 4 things: 2 folders (named dir1
and dir2
) and 2 files (File1.zip
and File2.pdf
). File1.zip
was created on January 1, 2015 at 10:10:10 and is 1234 bytes large (roughly kilobytes). File2.pdf
was created on January 2, 2015 at 11:11:11 and is 7654321 bytes large (about 7 megabytes).
Add the
|
You may also want to use visual panels to communicate related information, tips or things users need to be aware of. |
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|