Skip to content

Instantly share code, notes, and snippets.

@otamajakusi
Created March 19, 2024 02:53
Show Gist options
  • Save otamajakusi/3ee1403cddbf2abee91cb7a78e12342d to your computer and use it in GitHub Desktop.
Save otamajakusi/3ee1403cddbf2abee91cb7a78e12342d to your computer and use it in GitHub Desktop.
how to download a large file from google drive
1. launch google colab and mount drive
2. launch cloud instance (e.g. EC2)
3. upload ssh key to google drive
4. use scp on google colab:
scp -o StrictHostKeyChecking=no -i ~/.ssh/uploaded.pem large-file user@cloud-instance-ip-addr:
5. download large-file from the cloud instance to the local machine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment