gsutil Questions
3
Solved
Following Google docs, when using GoogleCloud Storage console:
mysef@myproject:~$ cat cors-json-file.json
[
{
"origin": ["*"],
"method": ["GET"],
"maxAgeSeconds": 3600
}
]
then I get th...
Mog asked 27/7, 2016 at 16:35
5
How can u create a new folder inside a bucket in google cloud storage using the gsutil command?
I tried using the same command in creating bucket but still got an error
gsutil mb -l us-east1 gs:/...
Theatricalize asked 17/8, 2018 at 9:28
3
Solved
I've read the documentation on the gsutil cp command, but still don't understand how to copy folders to keep the same permissions. I tried this command:
gsutil cp gs://bucket-name/folder1/folder_t...
Latency asked 24/12, 2019 at 9:16
3
Solved
I keep seeing the following error when using gsutil
ResumableUploadAbortException: Upload complete with 6275 additional bytes left in stream
The command is very simple, something like
gsutil cp...
Woodwaxen asked 29/6, 2016 at 15:17
3
Solved
I've followed the gsutil install guide following the Google Cloud instructions and I've updated GCloud components to the latest versions. I've just recently installed and configured GCloud to work ...
Yester asked 23/6, 2020 at 19:20
3
Solved
I currently have this: gsutil ls gs://basty/*_TZ001.*
gs://basty/20201007_TZ001.csv
gs://basty/20201008_TZ001.csv
gs://basty/20201009_TZ001.csv
My problem is that I have bcuket with many files I w...
Conscionable asked 21/10, 2020 at 19:5
3
Why doesn't gsutil use the Gcloud credentials as it should when running in a docker container on Cloud Shell?
According to [1] gsutil should use gcloud credentials when they are available:
Once cr...
Dolores asked 12/6, 2018 at 14:37
6
I have a GCS bucket containing some files in the path
gs://main-bucket/sub-directory-bucket/object1.gz
I would like to programmatically check if the sub-directory bucket contains one specific fil...
Senghor asked 30/3, 2015 at 22:24
1
I have written a python script to automatize some gsutil operations.
gsutil works fine if I run it by command line. But if I translate the same command with subprocess in python I get an error:
B...
5
Solved
I recently learnt of the new storage tiers and reduced prices announced on the Google Cloud Storage platform/service.
So I wanted to change the default storage class for one of my buckets from Dura...
Paperback asked 27/10, 2016 at 5:49
5
After installing Google cloud sdk and connecting to desired firebase project i am receiving :
ERROR: (gsutil)
"C:\Users\user\AppData\Local\Programs\Python\Python37\python.exe":
command not fou...
2
Solved
Whenever I run some gsutil command, for example gsutil components update, it exits with this error:
ERROR: gcloud crashed (LookupError): unknown encoding: cp65001
If you would like to report this...
Pinnace asked 7/7, 2018 at 8:32
1
2
Solved
I am running a python script and using the os library to execute a gsutil command, which is typically executed in the command prompt on Windows. I have some file on my local computer and I want to ...
2
Solved
I read some code on this problem, but i cannot make sense of the code. Could anybody help explaining the code to me?
# mount your drive
from google.colab import drive
drive.mount('/content/drive')...
Groundage asked 13/6, 2019 at 10:40
4
Solved
I have my google cloud storage buckets labeled
I can't find anything in the docs on how to do a gsutil ls but only filter buckets with a specific label- is this possible?
Kenrick asked 23/1, 2019 at 16:30
4
I followed the instructions given by the official documents, but stuck in executing ./install.sh.
MacOS version:10.14.5 (18F132)
Python version:python2.7
After I download the zip file given by t...
Tryst asked 23/7, 2019 at 12:55
1
Solved
I'm launching container images on Google Cloud AI Training (Cloud ML Engine)
Inside those containers I need to use gsutil.
Some containers have gsutil. In that case I can use it right away without...
Nacelle asked 23/4, 2020 at 10:35
2
Solved
As the title, the results from "gsutil cp" doesn't redirect to stdout, it always redirect to stderr.
As an example : gsutil cp existed_file.txt . > >(tee -a out.log) 2> >(tee -a error....
Camber asked 17/5, 2018 at 8:42
2
I have the same problem as the one mentioned here: Securely storing environment variables in GAE with app.yaml - namely:
"I need to store API keys and other sensitive information in app.yaml as e...
Mahan asked 5/2, 2019 at 23:21
4
Is it possible to mass rename objects on Google Cloud Storage using gsutil (or some other tool)? I am trying to figure out a way to rename a bunch of images from *.JPG to *.jpg.
Dosser asked 27/11, 2014 at 8:49
2
Solved
gsutil has been installed here:
/usr/local/bin/gsutil
My crontab looks like this (i'm logged in as root):
*/1 * * * * /home/deploy/cron/job.sh >> /home/deploy/cron/test.log 2>&1
...
0
I am in need of downloading reports of individual instances of ANRs (application not responding) data. This in order to upload such data to an internal system that would help me generate reports th...
Cermet asked 24/2, 2020 at 23:13
2
Solved
I am in the process of attempting to adjust user permissions in Google Cloud and have created a service account that other users can impersonate to access various projects. The gcloud command has t...
Unobtrusive asked 19/6, 2019 at 0:32
2
Solved
I'm the owner of a Google Cloud project, with a Google Cloud Storage bucket inside. All our backups are moved to this bucket. When I try to retrieve some of the backups, I get a permission denied. ...
Zeph asked 26/1, 2017 at 17:1
© 2022 - 2024 — McMap. All rights reserved.