view tests/clean.sh @ 304:2d6efbe56bb8

Wow, so many bugs in one short stanza of code. Really fix batchinsert handling of -K command-line argument now, and write a test for it so that no-one ever has any excuses ever again.
author mas01cr
date Tue, 05 Aug 2008 13:38:36 +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