Skip to content

Instantly share code, notes, and snippets.

@RobinStamer
Created June 8, 2011 22:03
Show Gist options
  • Select an option

  • Save RobinStamer/1015546 to your computer and use it in GitHub Desktop.

Select an option

Save RobinStamer/1015546 to your computer and use it in GitHub Desktop.
$ mongofiles -vvvvv -h h1 -d genoce -c comic.images list
Wed Jun 8 14:47:11 creating new connection to:h1
Wed Jun 8 14:47:11 BackgroundJob starting:
connected to: h1
$ echo 'db.comic.images.files.find()' | mongo h1/genoce
MongoDB shell version: 1.8.1
connecting to: h1/genoce
genoce:PRIMARY> db.comic.images.files.find()
{ "_id" : ObjectId("4defd9774dcb56464f000001"), "filename" : "http://imgs.xkcd.com/comics/worst_case_shopping.png", "contentType" : "binary/octet-stream", "length" : 87593, "chunkSize" : 262144, "uploadDate" : ISODate("2011-06-08T20:20:08.311Z"), "aliases" : null, "metadata" : { "deleteme" : 1 }, "md5" : "07c46ce8abf39b335dfb9cb707e463cc" }
genoce:PRIMARY> bye
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment