aboutsummaryrefslogtreecommitdiff
path: root/lib/enca/data/clean.sh
blob: c971951a30d5f014d4511efdc84955ce5e1e6c47 (plain)
1
2
3
4
5
6
7
8
9
10
11
#! /bin/bash
for d in `ls */doit.sh | cut -d/ -f1`; do
  echo '[ '$d' ]'
  cd ./$d >/dev/null
  test -f "xlt.c" && exit 1
  base=`ls rawcounts.* | head -n1 | cut -d. -f2`
  rm -vf *.c *.pair
  ls *.base *.xbase | grep -v '^'$base'\.' | xargs rm -vf
  cd .. >/dev/null
done
rm *~ 2>/dev/null