Difference between revisions of "Gsutil ls"
Jump to navigation
Jump to search
(→Errors) |
|||
Line 5: | Line 5: | ||
gs://your-first-bucket/ | gs://your-first-bucket/ | ||
gs://your-second-bucket/ | gs://your-second-bucket/ | ||
+ | |||
+ | [[gsutil ls -L]] | ||
+ | |||
+ | [[gsutil ls -L]] -b | ||
Revision as of 17:49, 3 August 2022
https://cloud.google.com/storage/docs/gsutil/commands/ls
gsutil ls gs://your-first-bucket/ gs://your-second-bucket/
gsutil ls -L
gsutil ls -L -b
Errors
gsutil ls gs://yourBucketName/ ServiceException: 401 Anonymous caller does not have storage.objects.list access to the Google Cloud Storage bucket. Solution: gsutil ls gs://your_bucket_name/
gsutil ls AccessDeniedException: 403 your-user@your-project.iam.gserviceaccount.com does not have storage.buckets.list access to the Google Cloud project.
gsutil ls
You are attempting to perform an operation that requires a project id, with none configured. Please re-run gsutil config and make sure to follow the instructions for finding and entering your default project id.
Solution: gsutil config -e
Related
aws s3 ls
AccessDeniedException
gsutil ls gs://your-first-bucket
gsutil acl get gs://your-first-bucket
See also
Advertising: