gdrive
gdrive copied to clipboard
Easy way to download root of Google Drive?
I can't quite tell if there is an easy way to sync download
my entire GoogleDrive easily.
I thought gdrive sync download root .
might work but it doesn't.
I get Provided id is not a sync root directory
Am I missing something?
It seems like you can only sync download
folders you created with this plugin, as they need to have the syncRoot
appProperty: https://github.com/prasmussen/gdrive/blob/5b72ec986f53ac0316424de89bdbff4bfb8d61e3/drive/sync_download.go#L99
Not sure why though. 😕
This works for me:
gdrive list --no-header --query " 'root' in parents" | awk '{print $1}' | xargs -L 1 gdrive download -r
why is this so difficult? I simply want to install gdrive and start syncing things that I already have in google drive just like as if I were to use the official Google Drive client.