Upload a file to a bucket

s3cmd

  • Command line tool and client for uploading, retrieving and managing data in S3 compatible object storage.
    More information: <https://s3tools.org/s3cmd>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

s3cmd put {{local_file}} s3://{{bucket}}/{{file}}

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