title: Combine two SQLite databases in bash
body: <p>I have two databases that are created in a bash file, let's call them <code>1.sqlite</code> and <code>2.sqlite</code>.  I'd like to combine them into a new database (<code>3.sqlite</code>).  Is there a command in bash that'll do that?</p>
  
  <p>Edit:</p>
  
  <p>The answer that sputnick gave me got me on the right track.  But I had to rearrange it to be:</p>
  
  <pre><code>sqlite3 1.sqlite .dump &gt; tempdb.sqlite
  </code></pre>