curl https://sdk.cloud.google.com | bash |- Installing: BigQuery Command Line Tool -| |============================================================| |- Installing: BigQuery Command Line Tool (Platform Spec... -| |============================================================| |- Installing: Cloud DNS Admin Command Line Interface -| |============================================================| |- Installing: Cloud SDK Core Command Line Tools -| |============================================================| |- Installing: Cloud SDK Core Libraries (Platform Specific) -| |============================================================| |- Installing: Cloud SQL Admin Command Line Interface -| |============================================================| |- Installing: Cloud Storage Command Line Tool -| |============================================================| |- Installing: Cloud Storage Command Line Tool (Platform... -| |============================================================| |- Installing: Compute Engine Command Line Interface -| |============================================================| |- Installing: Compute Engine Command Line Tool (depreca... -| |============================================================| |- Installing: Compute Engine Command Line Tool (depreca... -| |============================================================| source .bashrc gcloud auth login copy and paste the verification code gcloud config set project gcloud auth list gcloud config set account [Email Address]
If you see:
CommandException: arg (XXXXX) does not name a directory, bucket, or bucket subdir.
Keep in mind rsync works on directories, cp works on files.
gcloud cp testing.zip gs://[bucket location]
Recent Comments