Download object from a bucket (The output file is always the last argument)

aws s3api

  • Create and delete Amazon S3 buckets and edit bucket properties.
    More information: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3api/index.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

aws s3api get-object --bucket {{bucket_name}} --key {{object_key}} {{path/to/output_file}}

click the source code to copy install aws s3api on any operating system with command-not-found.com