Drivefs lets you mount your Google Drive as a folder in your filesystem. It is in a very early stage, but it supports reading both normal files and documents.
You need to set up a Go environment first and add $GOPATH/bin
to your $PATH
.
Then run:
$ go get github.com/guelfey/drivefs
$ drivefs --init
You can now mount your Google Drive with drivefs MOUNTPOINT
and unmount it
with fusermount -u MOUNTPOINT
.
FUSE method | Normal files | Normal directories | Document files | Document directories |
---|---|---|---|---|
Access | No | No | No | No |
Chmod | No | No | No | No |
Chown | - | - | - | - |
GetAttr | Yes | Yes | Yes | Yes |
GetXAttr | No | No | No | No |
Link | Yes | - | - | - |
ListXAttr | No | No | No | No |
Mkdir | - | No | - | - |
Mknod | - | - | - | - |
Open | Yes | - | Yes | - |
OpenDir | - | Yes | - | Yes |
Read | Yes | - | Yes | - |
Readlink | - | - | - | - |
RemoveXAttr | No | No | No | No |
Rename | No | No | - | No |
Rmdir | - | Yes | - | Yes |
SetXAttr | No | No | No | No |
Symlink | - | - | - | - |
Truncate | No | No | No | No |
Unlink | Yes | - | - | - |
Utimens | Yes | Yes | Yes | Yes |
Write | No | - | No | - |
- Implement missing FUSE methods (see above).
- Figure out how to represent permissions.
- Handle files with same name somehow.
- Make read buffering smarter.
- Moar performance!
- Use gzip for some calls?
Drivefs is licensed under a modified BSD license. See the LICENSE file for the full text.