Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-2.0.x
[OpenFOAM-2.0.x.git] / tutorials / Allclean
blobf63088cbb751464eafc06945a15e1588d2167560
1 #!/bin/sh
2 cd ${0%/*} || exit 1 # run from this directory
4 echo "--------"
5 echo "Cleaning tutorials ..."
6 echo "Removing backup files"
7 find . -type f \( -name "*~" -o -name "*.bak" \) -exec rm {} \;
8 find . \( -name core -o -name 'core.[1-9]*' \) -exec rm {} \;
9 find . \( -name '*.pvs' -o -name '*.OpenFOAM' \) -exec rm {} \;
10 rm logs testLoopReport > /dev/null 2>&1
12 foamCleanTutorials cases
14 echo "--------"
16 # ----------------------------------------------------------------- end-of-file