Open jnovotny opened 7 years ago
To see the files shared with you, you can use the following command...
gdrive list --query "sharedWithMe"
Hope it helps.
How to list a shared drive, instead? "sharedWithMe" only lists shared files
@AngryNinja any idea how to see the contents of those drives that are shared with you?
Get your folder ID (for example you can get it from URL: https://drive.google.com/drive/folders/<FOLDER_ID>
). Then
gdrive list --query "( ( not 'provideYourEmailAddressHere' in owners ) or ( visibility = 'anyoneCanFind' or visibility = 'anyoneWithLink' or visibility = 'domainCanFind' or visibility = 'domainWithLink' or visibility = 'limited' ) ) and trashed = false and '<FOLDER_ID>' in parents"
It worked for me.
Ionly see one file with teh CLI:
$ gdrive-linux-x64 list -m 10 Id Name Type Size Created 0B-NEMpvajLa2c3RhcnRlcl9maWxlX2Rhc2hlclYw Getting started bin 696.8 KB 2016-04-14 12:46:55
however there is a folder shared with me I see in the google drive webapp, how do I access that with the CLI?
Thanks, Jason