小编use*_*790的帖子

使用 grep 通过 gsutil -rm 删除 GCS 中的特定对象

我有一个包含许多对象的存储桶,我可以成功使用 grep 获取特定对象并将它们输出到文本文件中。我想使用 gsutil -rm 并逐行读取文本文件并删除 gcs 中相应的对象,但我该如何做呢?

或者有没有办法使用 gsutil -rm 和 grep 直接从 GCS 中删除对象?谢谢!

grep google-cloud-storage gsutil

3
推荐指数
1
解决办法
1516
查看次数

标签 统计

google-cloud-storage ×1

grep ×1

gsutil ×1