diff options
author | kristina <k@wooster.(none)> | 2009-06-01 13:55:45 -0400 |
---|---|---|
committer | kristina <k@wooster.(none)> | 2009-06-01 13:55:45 -0400 |
commit | 4919bc092633254e4db084cbf5868b41511b2b63 (patch) | |
tree | 74d69c8ea4f4a58b417021caff41c68a6adddb87 /debian/mongofiles.1 | |
parent | e3a3919baa70bda2f183b613c2c61d2546a53a3d (diff) | |
download | mongo-4919bc092633254e4db084cbf5868b41511b2b63.tar.gz |
man pages, version, and APGL MINOR
Diffstat (limited to 'debian/mongofiles.1')
-rw-r--r-- | debian/mongofiles.1 | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/debian/mongofiles.1 b/debian/mongofiles.1 new file mode 100644 index 00000000000..4d7c0c54aff --- /dev/null +++ b/debian/mongofiles.1 @@ -0,0 +1,52 @@ +.\" Documentation for the MongoDB dump tool +.TH MONGOFILES "1" "June 2009" "10gen" "Mongo Database" +.SH "NAME" +mongofiles \- a simple GridFS interface +.SH "SYNOPSIS" +\fBmongofiles [\fIOPTIONS\fR]\fR +.SH "DESCRIPTION" +.PP +\fBmongofiles\fR +is used to list, get, and insert files in the database. +.SH "EXAMPLES" +.TP +.B mongofiles list +lists files in test.fs.files +.TP +.B mongofiles put README.txt +inserts the file README.txt into the collection test.fs.files +.TP +.B mongofiles get photo.jpg +retrieves photo.jpg from test.fs.files and saves it locally +.SH "OPTIONS" +.TP +.B \-\-help +show usage information +.TP +.B \-h, \-\-host HOST +mongo host to which to connect +.TP +.B \-d, \-\-db DB +database to use (default DB=test) +.TP +.B \-c, \-\-collection COLLECTION (default COLLECTION=fs.files) +collection to use +.TP +.B \-\-command [list\||\|search\||\|put\||\|get] +execute a command +.TP +.B \-\-file FILE +filename for get or put +.TP +.B list +list all files. takes an optional filename. the file has to start with the filename +.TP +.B search +search all files for something that contains the string +.SH "COPYRIGHT" +.PP +Copyright 2007\-2009 10gen +.SH "SEE ALSO" +For more information, please refer to the MongoDB wiki, available at http://www.mongodb.org. +.SH "AUTHOR" +Kristina Chodorow |