Browse Source

Add export script

master
Samuel Sloniker 1 year ago
parent
commit
da8c4173c5
Signed by: kj7rrv
GPG Key ID: 1BB4029E66285A62
  1. 8
      export.sh

8
export.sh

@ -0,0 +1,8 @@
#!/bin/sh
cp articles.db old_articles.db
sqlite3 articles.db 'UPDATE articles SET text = "***";'
sqlite3 articles.db 'VACUUM;'
echo -n "Press enter when done..."
read
rm articles.db
mv old_articles.db articles.db
Loading…
Cancel
Save