Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The AWS CLI tool is available for Windows, macOS and Linux. The steps below show how the tool can be installed and used on CentOS Linux. Installation and usage instructions for other operating systems can be found here:

...

Code Block
[user@localhost ~]$ aws –endpoint-url <endpoint-url> s3 mb s3://<bucket-name>


list all buckets:

Code Block
[user@localhost ~]$ aws –endpoint-url <endpoint-url> s3 ls


sync a local directory to a bucket with a specific prefix

Code Block
[user@localhost ~]$ aws –endpoint-url <endpoint-url> s3 sync /home/user/downloads/ s3://mybucket/mydownloads/


More examples can be found here: