google-cloud-storagebuckets

CommandException: "mb" command does not support "file://" URLs. Did you mean to use a gs:// URL?


I am running Google Cloud Shell on my Windows 7, when trying to fire a new bucket on my PRJOECT I am getting an error.

Command --> C:\Users********>gsutil mb gs://MY-PROJECT-ID -p MY-PROJECT-ID

Error

CommandException: "mb" command does not support "file://" URLs. Did you mean to use a gs:// URL?

Anyone to help?

thanks


Solution

  • Try this (bucket name argument at the end):

    gsutil mb -p my-project-id gs://my-bucket-name