Query: mongofiles
OS: debian
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MONGOFILES(1) Mongo Database MONGOFILES(1)NAMEmongofiles - a simple GridFS interfaceSYNOPSISmongofiles [OPTIONS]DESCRIPTIONmongofiles is used to list, get, and insert files in the database.EXAMPLESmongofiles list lists files in test.fs.files mongofiles put README.txt inserts the file README.txt into the collection test.fs.files mongofiles get photo.jpg retrieves photo.jpg from test.fs.files and saves it locallyOPTIONS--help show usage information -h, --host HOST mongo host to which to connect -d, --db DB database to use (default DB=test) -c, --collection COLLECTION (default COLLECTION=fs.files) collection to use --command [list|search|put|get] execute a command --file FILE filename for get or put list list all files. takes an optional filename. the file has to start with the filename search search all files for something that contains the stringCOPYRIGHTCopyright 2007-2009 10genSEE ALSOFor more information, please refer to the MongoDB wiki, available at http://www.mongodb.org.AUTHORKristina Chodorow 10gen June 2009 MONGOFILES(1)