Reputation: 1939
How can you copy files from your google drive to your instance machine using the "gcloud" command?
I authorised the google drive using -
gcloud auth login --enable-gdrive-access
But I can't find any info on how to download files from google drive
Upvotes: 2
Views: 2998
Reputation: 81464
The Google CLI gcloud
does not have features to access files in Google Drive.
The command line option --enable-gdrive-access
exists to enable permissions so that services such as BigQuery can access Google Drive.
For Windows users, you can direcftly access files stored in Google Drive after installing Google Drive File System: link.
For Linux, I am not aware of an official tool. I use Drive CLI: link.
Upvotes: 5