Added gcp gsutils notes to the knowledge base

This commit is contained in:
Michele Cereda
2022-04-21 10:11:00 +02:00
parent 2c028ac664
commit f422633a5f

17
knowledge base/gsutils.md Normal file
View File

@@ -0,0 +1,17 @@
# Gsutils
## TL;DR
```shell
# delete a bucket and all its contents
gsutil rm -r gs://${BUCKET_NAME}
# delete a bucket only if empty
gsutil rb gs://${BUCKET_NAME}
```
## Further readings
- [Deleting buckets]
[deleting buckets]: https://cloud.google.com/storage/docs/deleting-buckets