how to delete folder from s3 bucket code example
Example: how to delete a folder from aws s3 bucket using commands
aws s3 rm s3://test-bucket --recursive --exclude="*" --include="data/*.*"
aws s3 rm s3://test-bucket --recursive --exclude="*" --include="data/*.*"