pi-rfid-jukebox/archive
Annika Backstrom 38f832e8d8 Add script to migrate from file to sqlite backend
This is the script I used to convert all existing media from the file
backend to the sqlite backend. I'm saving it for posterity.

It outputs shell commands to stdout, and SQL commands to stderr. These
can be piped to different files, examined, and run independently, e.g.

    $ ./file-to-sqlite.sh 1>files.sh 2>files.sql
    $ sh files.sh
    $ sqlite3 jukebox.sqlite3 files.sql
2019-12-17 13:50:11 -05:00
..
file-to-sqlite.sh Add script to migrate from file to sqlite backend 2019-12-17 13:50:11 -05:00