【发布时间】:2021-12-28 03:32:12
【问题描述】:
我有 2 台 Mac 笔记本电脑。在这个问题中,我称它们为“MacA(工作正常)”和“MacB(奇怪的行为)”。
MacB 发生了什么?
-
gsutils ls的结果MacA(工作正常)
$ gsutil ls gs://bucket-a gs://bucket-b gs://bucket-cMacB(奇怪的行为)
$ gsutil ls CommandException: Incorrect option(s) specified. Usage: gsutil ls [-a] [-b] [-d] [-l] [-L] [-r] [-p proj_id] url... For additional help run: gsutil help ls -
gsutls help ls的结果MacA(工作正常)
$ gsutil help ls NAME ls - List providers, buckets, or objects SYNOPSIS gsutil ls [-a] [-b] [-d] [-l] [-L] [-r] [-p proj_id] url... LISTING PROVIDERS, BUCKETS, SUBDIRECTORIES, AND OBJECTS If you run gsutil ls without URLs, it lists all of the Google Cloud Storage buckets under your default project ID (or all of the Cloud Storage buckets under the project you specify with the -p flag): gsutil ls If you specify one or more provider URLs, gsutil ls lists buckets at each listed provider: ......MacB(奇怪的行为)
$ gsutil help ls CommandException: The help command accepts at most 2 arguments. Usage: gsutil help [command or topic] For additional help run: gsutil help help -
shasum ~/google-cloud-sdk/bin/gsutil~/google-cloud-sdk/bin/gsutil 的校验和在 MacA 和 MacB 之间是相同的。
【问题讨论】:
标签: google-cloud-platform google-cloud-storage gsutil