mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
wcleanAll - provide some information about the progress
- move tutorial cleanup to the end in case the user wishes to
abort the wcleanAll script
- adjusted wcleanAlmostAll according, but don't know if it's really
needed any more
This commit is contained in:
@ -32,15 +32,15 @@
|
||||
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
echo "Cleaning backup files"
|
||||
echo "--------"
|
||||
echo "Cleaning tutorials ..."
|
||||
echo "Removing backup files"
|
||||
find . -type f \( -name "*~" -o -name "*.bak" \) -exec rm {} \;
|
||||
find . \( -name 'core' -o -name 'core.[1-9]*' \) -exec rm {} \;
|
||||
find . \( -name '*.pvs' -o -name '*.OpenFOAM' \) -exec rm {} \;
|
||||
rm logs > /dev/null 2>&1
|
||||
rm testLoopReport > /dev/null 2>&1
|
||||
|
||||
echo ""
|
||||
rm logs testLoopReport > /dev/null 2>&1
|
||||
|
||||
foamCleanTutorials cases
|
||||
|
||||
echo "--------"
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
|
||||
Reference in New Issue
Block a user