#! /bin/bash
# script to clean up the folder:
#  kill all binary files except input2.bin and input3.bin
#  move all .out to scraps for administrative review and toss if needed
echo 'begin cleaning process '
echo 'move all .inp to ./scraps '
mv *.inp ./scraps ;
echo 'move all .out to ./scraps '
mv *.out ./scraps ;
echo 'move all .bin to ./scraps '
mv *.bin ./scraps
echo ' change directory to scraps '
cd scraps
echo ' cp input2.bin,input3.bin back to parent directory '
cp input2.inp ../
cp input3.inp ../
#cp input2.out ../
#cp input3.out ../
#cp input2.bin ../
#cp input3.bin ../
echo ' delete all bin files '
rm -f *.bin
echo 'script complete '
