time-wasting-thread-memorial/db/rebuilddb.sh

8 lines
76 B
Bash
Executable File

#!/bin/bash
set -e
set -x
rm ./posts.db
cat ./db.sql | sqlite3 ./posts.db