I have the following 2 folders in my google cloud console that I want to delete:
I tried rm LayoutLMv2
doesn't work; I tried gsutil rm LayoutLMv2
, doesn't work either.
Then I found this where they say I need to enter the bucket info. Well, where do I find it? Googled about it, went through the documentation, navigated to the Buckets section in Gcloud console, it had only 1 bucket, kept navigating inside, but then I can't find the above 2 folders anywhere, and instead I find this gibberish:
I just need to do the simplest thing, and it seems its been obfuscated into oblivion.
Don't confuse things. The first screenshot is for the Cloud Shell and you want to delete two folders there.
The other is for Cloud Storage that has nothing to do with your inquiry nor gsutil
.
Also the Google Cloud Console is the UI for GCP, not the Shell.
You cannot delete folders because to delete a folder in Cloud Shell is like you would do in any Linux distribution. The right command is:
rm -r FOLDER_NAME
This is not an issue with GCP but basic linux commands. I'd suggest to start with that.
I know you're starting to use GCP, but always read the documentation first and understand what you're using.