Folders not showing up in Bucket storage

后端 未结 3 469
长发绾君心
长发绾君心 2021-02-07 06:09

So my problem is that a have a few files not showing up in gcsfuse when mounted. I see them in the online console and if I \'ls\' with gsutils. Also, if If I manually create th

3条回答
  •  余生分开走
    2021-02-07 06:37

    Google Cloud Storage doesn't have folders. The various interfaces use different tricks to pretend that folders exist, but ultimately there's just an object whose name contains a bunch of slashes. For example, "pictures/january/0001.jpg" is the full name of a single object.

    If you need to be sure that a "folder" exists, put an object inside it.

提交回复
热议问题