3
# Cleans up directories removing leaving only the results
6
# events.dat (Except in Events)
11
# First we need to get into the main directory
13
if [[ ! -d ./bin ]]; then
15
if [[ ! -d ./bin ]]; then
16
echo "Error: survey must be executed from the main, or bin directory"
20
if [[ -d SubProcesses ]]; then
22
echo -n "Cleaning SubProcesses"
23
for i in `cat subproc.mg` ; do
26
rm -f *ajob* >& /dev/null
27
rm -f G*/ftn* >& /dev/null
28
rm -f G*/events.lhe >& /dev/null
34
echo "Error could not find SubProcesses"