Upload a directory to an S3 bucket
CautionCopies the files that are new or changed in the directory to the bucket, overwriting objects with the same key but deleting nothing.
aws s3 sync . s3://bucketEdit the highlighted values, then copy. They are inserted as typed, without shell escaping.
Report an issue (opens in a new tab) wrong command, wrong danger level, typo… (on GitHub)
Adapted from tldr-pages (common/aws-s3.md), licensed under CC BY 4.0.