2013-01-18 6 views

Antwort

15

Der einfachste Weg, dies zu tun, ist wie folgt:

$ BOTO_CONFIG=/path/to/personal.boto gsutil cp #... 

Für detaillierte Variationen zu diesem Thema finden Sie this thread.

20

The Google Cloud SDK enthält jetzt das Tool gcloud, mit dem Sie sich anmelden und einfach zwischen Konten wechseln können.

$ gcloud auth list 
Credentialed accounts: 
- [email protected] (active) 
To set the active account, run 
$ gcloud config set account <account> 

auf ein anderes Konto anzumelden, einfach $ gcloud auth login und verwenden Sie einen anderen Google-Konto ausgeführt.

+1

sollte dies die akzeptierte Antwort jetzt – dougmacklin

-1

unter Windows OS: Satz BOTO_CONFIG = E:. \ Boto & e: \ gsutil \ gsutil.py ls s3: // your_bucket/Ordner