Skip to content

sohje/gfs-upload-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gfs-upload-cli

Build Status
Upload files to MongoDB GridFS using cli

Install

$ npm install --global gfs-upload-cli

Usage

$ gfs-upload --help

  Usage: gfs-upload [options] [files...]

  Upload files to MongoDB GridFS using cli.

  Options:

    -h, --help           output usage information
    -V, --version        output the version number
    -H, --host <string>  MongoDB URI
    -v, --verbose        Verbose output

  Examples:
    $ gfs-upload -v -H mongodb://localhost:27107/testDB /tmp/test.jpg
    $ gfs-upload -H mongodb://localhost/testDB ../images/* ../js/*.js ../css/*

License

MIT © Nikolay Spiridonov

About

Upload files to GridFS using cli

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published