mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
Added gcp gsutils notes to the knowledge base
This commit is contained in:
17
knowledge base/gsutils.md
Normal file
17
knowledge base/gsutils.md
Normal 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
|
||||
Reference in New Issue
Block a user