astrada / google-drive-ocamlfuse

FUSE filesystem over Google Drive
https://astrada.github.io/google-drive-ocamlfuse/
MIT License
5.52k stars 351 forks source link

Access to Shared Drives #672

Open lifeboy opened 3 years ago

lifeboy commented 3 years ago

Google offers "My Drive" and "Shared Drives". Is there a way in which we can connect ocamlfuse to shared drives? Google offers google-drive-stream for windows, but not for Linux.

astrada commented 3 years ago

Yes, in the docs they are still referenced as Team Drives but they should work nonetheless: https://github.com/astrada/google-drive-ocamlfuse/wiki/Team-Drives

lifeboy commented 3 years ago

Excellent, works well. I do notice some lag in updating changes to the steam. It takes sometime 5 minutes before one sees a new file created in a shared drive. Why would that be? It should in the browser interface in Google drive right away.

ShnitzelKiller commented 2 years ago

This does not work for me. The folder mounted team folder still contains the contents of my personal drive, even though I've set the team drive ID in the config file for that label.

nicolopozzato commented 1 year ago

This does not work for me. The folder mounted team folder still contains the contents of my personal drive, even though I've set the team drive ID in the config file for that label.

I have also the same issue... i have connected correctly because i can see and manage "My Files" but if i unmount, add the team drive id and redo the google-drive-ocamlfuse -label "label" "mount" I see again my files and not the team drive

tilenkranjc commented 1 year ago

I had a similar problem and solved it by emptying the ~/.gdfuse/<label>/cache/ folder. After that I mounted it again and it loaded the team drive.

You can also add an option -cc when mounting which does the same.

Might be a solution for #578 #567 #477 #401

anishjp commented 7 months ago

@astrada If I have more than one folder in the .shared folder, how do I specify the team_drive_id of all of them in the config file? Do I just add all of them separated by a comma?