Delete a file from an S3 bucket
CautionDeletes the object at the given key, which is permanent unless versioning is enabled on the bucket.
aws s3 rm s3://bucket/keyEdit 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.