2 cd ${0%/*} ||
exit 1 # run from this directory
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
16 # ----------------------------------------------------------------- end-of-file