]> matita.cs.unibo.it Git - helm.git/blob - helm/software/matita/scripts/clean_db.sh
0d0767573d30c61c63313a3c6093fa58e03debec
[helm.git] / helm / software / matita / scripts / clean_db.sh
1 #!/bin/sh
2
3 TBL=`echo show tables | mysql matita -u helm | grep -v _`
4 for X in $TBL; do
5   echo cleaning $X
6   echo "delete from $X where source like 'cic:/matita/%'" | mysql matita -u helm
7 done