main_marking2/mk_main2
changeset 424 daf561a83ba6
parent 389 4113d4d8cf62
child 463 0315d9983cd0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main_marking2/mk_main2	Mon Apr 11 23:55:27 2022 +0100
@@ -0,0 +1,37 @@
+#!/bin/bash
+###set -e
+
+trap "exit" INT
+
+files=${1:-*/main2}
+
+
+for sd in $files; do
+  echo -e "\n"
+  cd $sd
+  echo $sd
+  touch .
+  cp ../../../../../main_marking2/danube_test.sh .
+  cp ../../../../../main_marking2/danube_test1.scala .
+  cp ../../../../../main_marking2/danube_test2.scala .
+  cp ../../../../../main_marking2/danube_test3.scala .
+  cp ../../../../../main_marking2/danube_test4.scala .
+  cp ../../../../../main_marking2/danube_test5.scala .
+  cp ../../../../../main_marking2/danube_test6.scala .
+  cp ../../../../../main_marking2/movies.csv .
+  cp ../../../../../main_marking2/ratings.csv .
+  ./danube_test.sh output
+  rm danube_test.sh
+  rm danube_test1.scala
+  rm danube_test2.scala
+  rm danube_test3.scala
+  rm danube_test4.scala
+  rm danube_test5.scala
+  rm danube_test6.scala
+  rm ratings.csv
+  rm movies.csv
+  cd ..
+  cd ..
+done
+
+