#!/bin/sh
cd "${0%/*}" || exit                                # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions      # Tutorial clean functions
#------------------------------------------------------------------------------

echo "Cleaning case..."

# Delete time folders (anything numeric but not 0/)
find . -maxdepth 1 -type d -regex '\./[0-9]+.*' ! -name '0' -exec rm -rf {} +

# Delete post-processing results and processors
rm -rf postProcessing
rm -rf processor*
rm -f log.*

#------------------------------------------------------------------------------
