-
Notifications
You must be signed in to change notification settings - Fork 2
Uploading Data
João Carabetta edited this page Aug 29, 2017
·
3 revisions
if GSUTILS is not installed, start here:
- install GSUTILS
- after entering
gcloud init
, they will ask:Do you want to configure Google Compute Engine (https://cloud.google.com/compute) settings (Y/n).
Just hitn
if it is installed, just do:
gsutil cp [LOCAL_OBJECT_LOCATION] gs://[DESTINATION_BUCKET_NAME]/
if your file is very large (>150M), try a parallel upload:
gsutil -o GSUtil:parallel_composite_upload_threshold=150M cp [LOCAL_OBJECT_LOCATION] gs://[DESTINATION_BUCKET_NAME]/