如何使用 gsutil 删除 Google Cloud Storage 存储桶中的所有对象

你可以像这样使用 gsutil 删除 Google Cloud Storage 存储桶中的所有文件/对象:

gsutil_remove_all.sh
gsutil -m rm -r gs://my-bucket/\*

这将删除存储桶中的所有数据,通常无法恢复数据!


Check out similar posts by category: Cloud