#!/bin/sh cd ${0%/*} || exit 1 # Run from this directory # Source tutorial clean functions . $WM_PROJECT_DIR/bin/tools/CleanFunctions # remove old time and post-processing directories rm -rf 0 *[1-9]* processor* postProcessing # copy 0.orig to 0 cp -r 0.orig 0 cleanCase #------------------------------------------------------------------------------