Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Google Drive Ocamlfuse | 4,870 | 4 months ago | 181 | mit | OCaml | |||||
FUSE filesystem over Google Drive | ||||||||||
Gcsf | 2,203 | 2 years ago | 21 | April 12, 2020 | 32 | mit | Rust | |||
a FUSE file system based on Google Drive | ||||||||||
Laravel Google Cloud Storage | 485 | 33 | 16 | a year ago | 15 | September 22, 2020 | 39 | mit | PHP | |
A Google Cloud Storage filesystem for Laravel | ||||||||||
Fuse Google Drive | 271 | 7 years ago | 18 | gpl-2.0 | C | |||||
A fuse filesystem wrapper for Google Drive. | ||||||||||
Gmusicfs | 158 | 7 years ago | 33 | Python | ||||||
A FUSE filesystem for Google Music | ||||||||||
Spreadsheetfs | 126 | 3 years ago | 1 | mit | Python | |||||
Use Google Sheets as a Filesystem to get Unlimited Free Cloud Storage | ||||||||||
Storage File Transfer Json Python | 80 | 6 years ago | 2 | apache-2.0 | Python | |||||
Uploads and downloads files between Google Cloud Storage and the local filesystem using the Google Python Client Library. | ||||||||||
Node Gdrive Fuse | 61 | 5 years ago | 16 | JavaScript | ||||||
This is a simple filesystem written in NodeJS to mount Google Drive as a local drive. | ||||||||||
Java Storage Nio | 55 | 37 | 31 | a day ago | 181 | April 19, 2022 | 9 | apache-2.0 | Java | |
Lrkfm | 47 | 22 days ago | 12 | mit | Java | |||||
Awesome, (ad) free, open source file manager for Android |
google-drive-ocamlfuse is a FUSE filesystem for Google Drive, written in OCaml. It lets you mount your Google Drive on Linux.
.Trash
directory)Please be sure to have a look at the authorization page, to understand how the authorization process works, and to discover all the available options.
I've uploaded .deb packages for Ubuntu to my PPA. In order to to install it, use the commands below:
sudo add-apt-repository ppa:alessandro-strada/ppa
sudo apt-get update
sudo apt-get install google-drive-ocamlfuse
New beta versions are available on this PPA. If you want to test them, use the commands below:
sudo add-apt-repository ppa:alessandro-strada/google-drive-ocamlfuse-beta
sudo apt-get update
sudo apt-get install google-drive-ocamlfuse
For other installation options, please refer to the wiki.
To build the executable, run
dune build @install
To install it, run (as root, if your user doesn't have enough privileges)
dune install
To uninstall anything that was previously installed, execute
dune uninstall
The first time, you can run google-drive-ocamlfuse
without parameters:
google-drive-ocamlfuse
This command will create the default application directory
(~/.gdfuse/default
), containing the configuration file config
(see the
wiki
page
for more details about configuration). And it will start a web browser to
obtain authorization to access your Google Drive. This will let you modify
default configuration before mounting the filesystem.
Then you can choose a local directory to mount your Google Drive (e.g.: ~/GoogleDrive
).
Create the mount point, if it doesn't exists:
mkdir ~/GoogleDrive
Then you can mount the filesystem (replacing [mountpoint] with the name of your desired folder):
google-drive-ocamlfuse [mountpoint]
If you have more than one account, you can run:
google-drive-ocamlfuse -label label [mountpoint]
Using label
to distinguish different accounts. The program will use the
directory ~/.gdfuse/label
to host configuration, application state, and file
cache. No file is shared among different accounts, so you can have a different
configuration for each one.
To unmount the filesystem, issue this command:
fusermount -u mountpoint
This application is still under testing, so there are probably bugs to
discover and fix. To be extra sure, if you want, you can mount the filesystem
in read-only mode, modifying the configuration (see the
documentation),
to avoid any write attempt to the server. Anyway, the rm
command will simply
trash your file, so you should always be able to rollback any changes. If you
have problems, you can turn on debug logging:
google-drive-ocamlfuse -debug mountpoint
In ~/.gdfuse/default
you can find curl.log
that will track every request
to the Google Drive API, and gdfuse.log
that will log FUSE operations and
cache management. If something goes wrong, you can try clearing the cache,
with this command:
google-drive-ocamlfuse -cc
If something still doesn't work, try starting from scratch removing everything
in ~/.gdfuse/default
. In this case you will need to reauthorize the
application.
Note that in order to reduce latency, the application will query the server and check for changes only every 60 seconds (configurable). So, if you make a change to your documents (server side), you won't see it immediately in the mounted filesystem.
Note also that Google Documents will be exported read-only.
If you have questions, suggestions or want to report a problem, you may want to open an issue on github.