Open dav1303 opened 7 years ago
+1 this would be very useful.
+1 please add the feature
+1 for this feature
+1 for this too
+1 would greatly appreciate this feature
seems this project is no longer actively maintained. has anyone found a solution for programmatically sending files to a Team Drive?
Looks like its part of the v3 API: https://developers.google.com/drive/v3/reference/teamdrives
Also would love to use gdrive with Team Drives, getting the same errors as people above:
Failed to get file: googleapi: Error 404: File not found: id., notFound
where id is my team drive folder ID.
https://developers.google.com/drive/api/v3/enable-teamdrives
Maybe we could use this as an alternative? https://github.com/gsuitedevs/PyDrive
for python developers, that could indeed be quite handy. however, i would expect a command line interface to be provided by another project in order to call it a replacement or alternative to gdrive.
On Thu, Jun 21, 2018 at 12:34 PM, Muhannad Ajjan (INACTIVE) < notifications@github.com> wrote:
Maybe we could use this as an alternative? https://github.com/gsuitedevs/PyDrive
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/prasmussen/gdrive/issues/260#issuecomment-399201816, or mute the thread https://github.com/notifications/unsubscribe-auth/ABWiMwp7vaauNEnlQyEWp63nWv4XhmDGks5t--dPgaJpZM4MFEsh .
I just added support for team drives in https://github.com/petrpulc/gdrive/commit/99488f93c0cd5f4c7e080b99f1173f872ae8cf47 (see #409 )
So I've downloaded v2.1.0 - how do I access my team drive? Nothing in the help text indicates what I need to do....
@MattB98 try to download my version from https://drive.google.com/drive/folders/12GSQhLLdKDdKzq_a-7WOrip5HnFmm1v9
The only change it brings right now, is that it marks the requests as Team-drive-compatible. Proceed as I usually do: open the google drive in browser, locate the item ids to manipulate with (last segment of URL) and use them in gdrive
@MattB98 try to download my version from https://drive.google.com/drive/folders/12GSQhLLdKDdKzq_a-7WOrip5HnFmm1v9
The only change it brings right now, is that it marks the requests as Team-drive-compatible. Proceed as I usually do: open the google drive in browser, locate the item ids to manipulate with (last segment of URL) and use them in
gdrive
How do I use the team id's with it?
The team drive object IDs are handled the same way as any other object IDs.
Assume that the file on team drive has ID 12345abcde
, you can use the same gdrive download 12345abcde
I am using the linux system and would like to download the team drive-compatible version of gdrive, could you point to me which version exactly it is as there are many in the link you provided? Thanks
The version is dependent on your platform.
On a "regular" and recent PC/Laptop use linux-x64
.
On older (32-bit) PC use linux-386
.
@petrpulc lifesaver, thanks man!
The version is dependent on your platform.
On a "regular" and recent PC/Laptop use
linux-x64
. On older (32-bit) PC uselinux-386
.
Is there any way I can upload directly to team drive?
Is there any way I can upload directly to team drive?
Of course, if you use the version with teamdrive support, use the ID of the folder you want to upload to. The fastest way to obtain the ID is to navigate to the shard drive with your browser and copy the last segment of URL
Is there any way I can upload directly to team drive?
Of course, if you use the version with teamdrive support, use the ID of the folder you want to upload to. The fastest way to obtain the ID is to navigate to the shard drive with your browser and copy the last segment of URL
Can you give me an example for the command I'm typing?
Is there any way I can upload directly to team drive?
Of course, if you use the version with teamdrive support, use the ID of the folder you want to upload to. The fastest way to obtain the ID is to navigate to the shard drive with your browser and copy the last segment of URL
Can you give me an example for the command I'm typing?
1) Navigate with browser to the folder/team drive you want to upload to
2) Get last segment from URL, i.e.: drive.google.com/drive/u/1/folders/ID
3) Execute gdrive upload -p ID /path/on/pc
Is there any way I can upload directly to team drive?
Of course, if you use the version with teamdrive support, use the ID of the folder you want to upload to. The fastest way to obtain the ID is to navigate to the shard drive with your browser and copy the last segment of URL
Can you give me an example for the command I'm typing?
- Navigate with browser to the folder/team drive you want to upload to
- Get last segment from URL, i.e.: drive.google.com/drive/u/1/folders/ID
- Execute
gdrive upload -p ID /path/on/pc
"Failed to get file: googleapi: Error 404: File not found" And I'm pretty sure I got the ID right
Is there any way I can upload directly to team drive?
Of course, if you use the version with teamdrive support, use the ID of the folder you want to upload to. The fastest way to obtain the ID is to navigate to the shard drive with your browser and copy the last segment of URL
Can you give me an example for the command I'm typing?
- Navigate with browser to the folder/team drive you want to upload to
- Get last segment from URL, i.e.: drive.google.com/drive/u/1/folders/ID
- Execute
gdrive upload -p ID /path/on/pc
I tried to reinstall again and I got this error:
root@97498:~# drive
/usr/local/bin/drive: line 1: syntax error near unexpected token <' /usr/local/bin/drive: line 1:
<!DOCTYPE html>
Hi
Can we use gdrive with team drives ? I've done a test but it not see my main folder
Thanks