gsutil returning “no matches found”

后端 未结 2 1557
一向
一向 2021-01-03 20:57

I\'m trying using gsutil to remove the contents of a Cloud Storage bucket (but not the bucket itself). According to the documentation, the command should be:

2条回答
  •  有刺的猬
    2021-01-03 21:29

    gsutil rm  gs://bucketName/doc.txt
    

    And for remove entire bucket including all objects

    gsutil rm -r gs://bucketname
    

提交回复
热议问题