mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Use rm -rf to avoid warnings for files that have already been removed.
This commit is contained in:
@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
foamCleanTutorials cases
|
foamCleanTutorials cases
|
||||||
rm -rf processor*
|
rm -rf processor*
|
||||||
rm 0/pd.gz 0/alpha1.gz
|
rm -rf 0/pd.gz 0/alpha1.gz
|
||||||
|
|||||||
@ -4,16 +4,13 @@
|
|||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
cd constrictedChannel
|
cd constrictedChannel
|
||||||
rm -rf 0 > /dev/null 2>&1
|
rm -rf 0
|
||||||
rm Ar-Ar Ar-Ne Ne-Ne > /dev/null 2>&1
|
rm -rf Ar-Ar Ar-Ne Ne-Ne
|
||||||
rm constant/idList
|
rm -rf constant/idList
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
cd nanoNozzle
|
cd nanoNozzle
|
||||||
rm -rf processor[0-9] > /dev/null 2>&1
|
rm -rf processor[0-9]
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
|||||||
@ -4,10 +4,8 @@
|
|||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
cd periodicCube
|
cd periodicCube
|
||||||
rm -rf 0 > /dev/null 2>&1
|
rm -rf 0
|
||||||
rm Ar-Ar > /dev/null 2>&1
|
rm -rf Ar-Ar
|
||||||
rm constant/idList
|
rm -rf constant/idList
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
|||||||
@ -24,7 +24,7 @@ do
|
|||||||
|
|
||||||
if [ "$case" = "biconic25-55Run35" ]
|
if [ "$case" = "biconic25-55Run35" ]
|
||||||
then
|
then
|
||||||
rm $case/constant/polyMesh/boundary
|
rm -rf $case/constant/polyMesh/boundary
|
||||||
wclean $case/datToFoam
|
wclean $case/datToFoam
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user