Skip to content

Instantly share code, notes, and snippets.

@initbar
Created June 4, 2020 02:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save initbar/4617ad24bfab294bd7effdc37c0a45e2 to your computer and use it in GitHub Desktop.
Save initbar/4617ad24bfab294bd7effdc37c0a45e2 to your computer and use it in GitHub Desktop.
from google.colab import drive
drive.mount('/content/drive')
from google.colab import auth
auth.authenticate_user()
project_id = 'initbar'
!gcloud config set project {project_id}
!gsutil ls
bucket_name = 'work.init.bar'
!gsutil -m cp gs://{bucket_name}/SA.mkv /content/drive/My\ Drive/
drive.flush_and_unmount()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment