Skip to content

Instantly share code, notes, and snippets.

@orleika
Last active November 15, 2015 08:51
Show Gist options
  • Save orleika/5ef9c63274f00d282ad1 to your computer and use it in GitHub Desktop.
Save orleika/5ef9c63274f00d282ad1 to your computer and use it in GitHub Desktop.
Mongo oneline export
$ mongo --quiet dbname --eval 'db.collection.find();' > result.tsv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment