aws s3 rm
Delete S3 objects. More information: https://docs.aws.amazon.com/cli/latest/reference/s3/rm.html.
- Delete a specific S3 object:
aws s3 rm s3:///
- Simulate the deletion of a specific S3 object without deleting it:
aws s3 rm s3:/// --dryrun
- Delete an object from a specific S3 access point:
aws s3 rm s3://arn:aws:s3::://
- Remove all objects from a bucket (empty the bucket):
aws s3 rm s3:// --recursive
- Display help:
aws s3 rm help
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
