$ aws s3 cp ./dist s3://mybucket/ --recursive --acl public-read
$ aws s3 sync . s3://bucket --delete
| --recursive | apply the command to all objects under the prefix/directory |
| --acl | set a canned access-control policy (e.g. public-read, private) |
| --dryrun | show what would happen without actually doing it |
| --delete | with sync: delete destination files missing from the source |
| --exclude | skip paths matching this pattern |
| --include | re-include paths (after --exclude) matching this pattern |
| --profile | use this named credentials profile |
| --region | target this AWS region |
| --output | output format: json, text, table, or yaml |
| --query | filter/reshape the output with a JMESPath expression |
| --no-paginate | return all results in one response, don't paginate |
| --endpoint-url | talk to this endpoint (e.g. an S3-compatible service) |
| --sse | server-side-encrypt uploaded objects |
| --storage-class | S3 storage class (STANDARD, GLACIER, …) |
| --version | print the aws CLI version |
Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.