mgfs

command module
v0.0.0-...-29f8934 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2015 License: MIT Imports: 14 Imported by: 0

README

mgfs

Mount a MongoDb database as a filesystem via FUSE.

Installation

You need to have Golang installed. Open your terminal, and run go get github.com/amsa/mgfs. Now you should be able to run mgfs (be sure to add $GOPATH/bin to your $PATH).

How to use

First mount your MongoDb database: mgfs test /path/to/mount/dir. You may now go to the directory specified as the mount point, and see the collections (directories), and documents (json files). You may read, update, or delete the documents. You may also read and delete GridFs files under the specified prefix (fs by default).

Don't forget to unmount the database when you are done (umount /path/to/mount/dir).

Todo

  • Support GridFS read
  • Support GridFS remove
  • Support GridFS write
  • Show GridFS file names

Credits

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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