aws s3
CLI for AWS S3 - provides storage through web services interfaces. Some subcommands such as
cphave their own usage documentation. More information: https://docs.aws.amazon.com/cli/latest/reference/s3/.
- Show files in a bucket:
aws s3 ls
- Sync files in a directory from local to bucket:
aws s3 sync s3://
- Sync files and directories from bucket to local:
aws s3 sync s3://
- Sync files in a directory with exclusions:
aws s3 sync s3:// --exclude --exclude /*
- Remove file from bucket:
aws s3 rm s3:///
- Simulate a command without making any changes:
aws s3 --dryrun
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
