Mercurial > hg > audiodb
view tests/clean.sh @ 140:ddd83d773d6c
Smaller databases
Adjust the sizes of the various tables (file, track, times, l2norm)
linearly with the overall size of the database.
Now it makes sense to allow 50Mb databases, as the various fixed-size
tables shrink, rather than being fixed to somewhere over that size...
author | mas01cr |
---|---|
date | Mon, 29 Oct 2007 11:47:42 +0000 |
parents | 1853beeb0521 |
children |
line wrap: on
line source
#! /bin/sh for file in [0-9][0-9][0-9][0-9]*; do if [ -d ${file} ]; then echo Cleaning ${file} rm -f ${file}/test* if [ -f ${file}/clean.sh ]; then (cd ${file} && sh ./clean.sh) fi fi done