Hello, I have a directory name with seaweedFS and I want to upload data to that directory? which parameter is gong to use for that? please help
From the documentation
gdrive upload --parent 0B3X9GlR6EmbnY1RLVTk5VUtOVkk gdrive-osx-x64
Where 0B3X9GlR6EmbnY1RLVTk5VUtOVkk is the id of folder you want to upload to and gdrive-osx-x64 is the file you want to upload
You can find the id of the folder by searching for it with:
gdrive list -q "name contains 'seaweedFS'"
Syntax for possible queries: https://developers.google.com/drive/v3/web/search-parameters.
I would use this
gdrive list --name-width 0 --absolute --query "name = 'seaweedFS' and mimeType = 'application/vnd.google-apps.folder' and trashed = false"
You can also make a shared link from folder in web gui and ID is the end of it.
Most helpful comment
You can find the id of the folder by searching for it with:
gdrive list -q "name contains 'seaweedFS'"Syntax for possible queries: https://developers.google.com/drive/v3/web/search-parameters.