AWS CLI 2 · S3

Upload a file

Copy a local file to a bucket.

aws s3 cp file.txt s3://my-bucket/

Official AWS CLI 2 documentation

More s3 commands

All s3 commands · AWS CLI 2 cheatsheet

Was this page helpful?