How to upload file(s) to AWS S3

# Single file
aws s3 cp ./some-local-directory/file.txt s3://my-happy-bucket/

# Multiple files and directories recursively
aws s3 cp ./some-local-directory s3://my-happy-bucket/dir --recursive

# Applying filters, e.g. uploading only files with .jpg extension
aws s3 cp ./some-local-directory s3://my-happy-bucket/dir \
  --recursive \
  --exclude * \
  --include *.jpg
11 lines of code, 370 characters

Similar AWS code snippets using bash

Finally, a good search for AWS Console

Was that in us-east-1? Or us-west-2? No need to remember. Just type the name of the resource and CloudTempo will find it.