Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A simple FUSE filesystem for Google Drive on Linux

License

NotificationsYou must be signed in to change notification settings

althk/drivefs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple FUSE filesystem for Google Drive on Linux.

Currently supports:

  • Mounting Google Drive to a directory in READONLY mode only.
  • Opening non Google Apps files (i.e., Google Docs, Sheets etc will not open)
  • It downloads files only when opened and has support for primitive 'caching'.

NOTE: Still in infancy mode, proper logging, doc and other features (sync, upload, etc.)will come later. Pull requests welcome!

Pre-reqs

  • Golang version 1.16+
  • A credentials json for a Google Cloud project
    • Easiest way to get one is togo to this link,click on "Enable the Drive API" button, follow the steps and download the file.

Usage

  • Download the source, cd to the drivefs dir and build itgo build drivefs.go
  • $ ./drivefs -credsfile <path to credentials.json> -mntpoint <path to mount dir> -tokenfile <path to oauth token.json>
  • On first run, it will print a link to authorize the app and fetch an oauth refresh token.
    • NOTE: Since the authorization is for your own app created in the pre-reqs step, it should be fine to proceed,however, make sure the file is stored in a safe location on the machine after download.
  • It will fetch basic file/dir information (not the actual contents), and the mounted directory can be browsed usinga regular file manager/shell.

About

A simple FUSE filesystem for Google Drive on Linux

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp