Crombie Tools
clean.sh
Go to the documentation of this file.
1 #!/bin/bash
2 
3 object=$1
4 
5 find $CROMBIEPATH/old/*Tools -name "$object*.so" | xargs rm 2> /dev/null
6 find $CROMBIEPATH/old/*Tools -name "$object*.d" | xargs rm 2> /dev/null
7 find $CROMBIEPATH/old/*Tools -name "$object*.pcm" | xargs rm 2> /dev/null
8 find $CROMBIEPATH -name "$object*.pyc" | xargs rm 2> /dev/null
9 
10 pycacheDir=$CROMBIEPATH/python/CrombieTools/__pycache__
11 if [ -d $pycacheDir ]
12 then
13  rmdir $pycacheDir
14 fi