A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cloud.google.com/storage/docs/gsutil/addlhelp/ShimforRunninggcloudstorage below:

Shim for Running gcloud storage | Cloud Storage

Stay organized with collections Save and categorize content based on your preferences.

Shim for Running gcloud storage Important: gsutil is not the recommended CLI for Cloud Storage. Use gcloud storage commands in the Google Cloud CLI instead. Overview

Cloud SDK includes a new CLI, gcloud storage, that can be considerably faster than gsutil when performing uploads and downloads with less parameter tweaking. This new CLI has a syntax and command structure that is familiar to gsutil users but is fundamentally different in many important ways. To ease transition to this new CLI, gsutil provides a shim that translates your gsutil commands to gcloud storage commands if an equivalent exists, and falls back to gsutil's usual behavior if an equivalent does not exist.

To Enable

Set use_gcloud_storage=True in the .boto config file under the [GSUtil] section:

[GSUtil]
use_gcloud_storage=True

You can also set the flag for individual commands using the top-level -o flag:

gsutil -o "GSUtil:use_gcloud_storage=True" -m cp -p file gs://bucket/obj
Available Commands

The gcloud storage CLI only supports a subset of gsutil commands. What follows is a list of commands supported by the shim with any differences in behavior noted.

acl autoclass bucketpolicyonly cat compose cors cp defacl defstorageclass hash iam kms labels lifecycle logging ls mb mv notification pap rb requesterpays rewrite rm rpo setmeta stat ubla versioning web Boto Configuration

Configuration found in the boto file is mapped 1:1 to gcloud environment variables where appropriate.

[Credentials] [Boto] [GSUtil] [OAuth2] General Compatibility Notes

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-10-02 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-02 UTC."],[],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.5