CmdID

CmdID / Commands

aws-s3-rm

Delete S3 objects. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Delete a specific S3 object

aws s3 rm s3://bucket_name/path/to/fileIdentify

Simulate the deletion of a specific S3 object without deleting it

aws s3 rm s3://bucket_name/path/to/file --dryrunIdentify
--dryrunDisplays the operations that would be performed using the specified command without actually running them. AWS CLI reference

Delete an object from a specific S3 access point

aws s3 rm s3://arn:aws:s3:region:account_id:access_point/access_point_name/object_keyIdentify

Remove all objects from a bucket (empty the bucket)

aws s3 rm s3://bucket_name --recursiveIdentify
--recursiveCommand is performed on all files or objects under the specified directory or prefix. AWS CLI reference

Display help

aws s3 rm helpIdentify

Matches documented abuse: inherit