title: MongoDB Administration through command line scripts
body: <p>in mysql I can administer my database (the primary goal is to a have an automated build of the database by sequentially applying changes to it with scripts) by running commands like this:</p>
  
  <pre><code>mysql -u root my_database &lt; script_1.sql
  mysql -u root my_database &lt; script_2.sql
  </code></pre>
  
  <p>Where script_1.sql looks like this:</p>
  
  <pre><code>DROP DATABASE IF EXISTS my_database;
  CRATE DATABASE my_database;
  </code></pre>
  
  <p>And script_2.sql something like this:</p>
  
  <pre><code>INSERT INTO ...
  </code></pre>
  
  <p>Ok, I want to to the same for mongo, but instead of running SQL commands I would like to run mongo db commands.</p>
  
  <p>Is something like that possible?</p>