fuse_gdrive

command module
v0.0.0-...-2f794db Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2015 License: Apache-2.0 Imports: 27 Imported by: 0

README

fuse_gdrive

A Fuse filesystem using the Google Drive API v2 in Go.

For the impatient

  1. install the fuse library for your operating system: * debian/ubuntu: apt-get install fuse * osxfuse: download and install * freebsd: cd /usr/ports/sysutils/fusefs-libs/ && make install * from src: http://fuse.sourceforge.net/
  2. install go, at least version 1.3, for your OS
  3. Ensure you set $GOPATH (~/go will work fine), then add $GOPATH/bin to your traditional $PATH environment variable.
  4. use go to fetch and install this code and its dependencies:
`$ go install github.com/asjoyner/fuse_gdrive`
  1. make a mount point on your system
`$ mkdir /mnt/gdrive`
  1. request to mount the filesystem
`$ fuse_gdrive /mnt/gdrive`
  1. A browser window will open for you to grant permission to your files in Drive.
  2. Once you accept, the client will sync locally the metadata about your files in drive, and make those files accessible at the mount point you specified.

But that didn't work?

The steps above assume that you're running the fuse client on the same computer the web browser is running on. If you get an error about failing to launch a web browser, and have to copy/paste the URL by hand, then you'll also have to ensure when your web browser attempts to HTTP POST to http://localhost:12345 that it gets connected to the fuse_gdrive client. Typically, you want a command like this:

$ ssh -L12345:localhost:12345 <remote_host>

Documentation

Overview

The fuse_gdrive command makes your Google Drive files accessible as a local mount point. It implements a user space filesystem, using the Fuse and Google Drive APIs, to allow you to access your files in Google Drive just like a regular local filesystem.

Directories

Path Synopsis
The cache package provides efficient small reads of large remote HTTP files.
The cache package provides efficient small reads of large remote HTTP files.
Package lru implements an LRU cache.
Package lru implements an LRU cache.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL