Permalink
Browse files

Add dumps of amazon and musicbrainz

  • Loading branch information...
1 parent 9c0f089 commit d2eca0ea2e8d98497550bf79555fcb1d7aca56f1 @palfrey committed Dec 26, 2011
Showing with 10 additions and 0 deletions.
  1. +5 −0 db-dump.sh
  2. +5 −0 db-load.sh
  3. BIN dump.sql.gz
View
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+echo ".dump amazon" | sqlite3 songs.db > dump.sql
+echo ".dump musicbrainz" | sqlite3 songs.db >> dump.sql
+gzip -f dump.sql
View
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+echo "drop table amazon;" | sqlite3 songs.db
+echo "drop table musicbrainz;" | sqlite3 songs.db
+zcat dump.sql.gz | sqlite3 songs.db
View
Binary file not shown.

0 comments on commit d2eca0e

Please sign in to comment.