s3 rm or s3 delete file code example Example: aws s3 rm aws s3 rm --recursive s3://your_bucket_name/foo/