bin/tools/CleanFunctions: Added cleanVoFCase function
to automate the removal of derivative fields written to the 0 directory, currently alphas and T.<phase>
This commit is contained in:
@ -88,6 +88,12 @@ cleanCase()
|
||||
find . -name "*.orig" -type f -exec sh -c 'rm -f ${0%.*} ${0%.*}.gz' {} \;
|
||||
}
|
||||
|
||||
cleanVoFCase()
|
||||
{
|
||||
cleanCase
|
||||
find 0 \( -name "alphas" -o -name "T.*" ! -name "T.orig" \) -exec rm -f {} \;
|
||||
}
|
||||
|
||||
removeCase()
|
||||
{
|
||||
echo "Removing ${1:-unknown} case"
|
||||
|
||||
Reference in New Issue
Block a user