[l10n] Updated German translation
[banshee:bl8-clone.git] / src / nuke-core-tables
1 #!/bin/bash
2
3 DB_FILE="$HOME/.config/banshee-1/banshee.db"
4 test ! -z $1 -a -e $1 && DB_FILE=$1
5
6 for table in $(sqlite3 $DB_FILE 'select name from sqlite_master;' | egrep '^sqlite_autoindex|^Core'); do
7         DROP="DROP TABLE $table"
8         echo $DROP
9         sqlite3 $DB_FILE "$DROP" 2>/dev/null
10 done
11