https://github.com/jcline/fuse-google-drive
A fuse filesystem wrapper for Google Drive.
https://github.com/jcline/fuse-google-drive
Last synced: about 1 month ago
JSON representation
A fuse filesystem wrapper for Google Drive.
- Host: GitHub
- URL: https://github.com/jcline/fuse-google-drive
- Owner: jcline
- License: gpl-2.0
- Created: 2012-04-25T01:16:36.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2016-06-27T06:11:47.000Z (almost 9 years ago)
- Last Synced: 2024-07-31T19:26:02.253Z (9 months ago)
- Language: C
- Size: 269 KB
- Stars: 286
- Watchers: 35
- Forks: 48
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
- awesome-fuse-fs - fuse-google-drive - A fuse (Libraries)
README
fuse-google-drive is a fuse filesystem wrapper for Google Drive released under GPLv2
Currently in alpha stages. Do not trust this for anything important.
A detailed guide to get running on Ubuntu: http://jason-king.info/mount-your-google-drive-readonly-on-linux/
Status:
* read() works, cache not freed until unmount, should detect file updates
* directory listing works, no heirarchy
* incorrect stat() info, filesize is correct, fails (as it should) on nonexistant files
* redirecturi is now hardcoded -- you do not need the file
* clientsecrets and client id should now be in `$XDG_CONFIG_HOME/fuse-google-drive/`Discussion:
* #fuse-google-drive on irc.freenode.net
Dependencies:
* fuse
* libcurl
* json-c aka libjson
* libxml2Build Dependencies:
* autotools
* makeIf you are on one of the systems that does not include development files with
packages, then make sure you install the development packages for each of the
dependencies.Compilation:
```
$ ./autogen.sh
$ ./configure
$ make
```Usage:
Right now you need to go to http://code.google.com/apis/console and create
a new app and generate a client id and client secret for an install application.
The clientid value and clientsecrets value should each go into:```
$XDG_CONFIG_HOME/fuse-google-drive/clientid
$XDG_CONFIG_HOME/fuse-google-drive/clientsecrets
```resepectively. You should `chmod 700 $XDG_CONFIG_HOME/fuse-google-drive` as well.
If the folder does not exist at runtime, a helpful message is printed and the
directory is created with the correct permissions if possible.
Note: If `$XDG_CONFIG_HOME` is unset on your system, it defaults to `~/.config/`.```
$ mkdir mountpoint
$ ./fuse-google-drive mountpoint
```Thanks to:
* http://www.cs.nmsu.edu/~pfeiffer/fuse-tutorial/
* https://www.ibm.com/developerworks/linux/library/l-fuse/
* Gregor on FreeNode