From 294a023f14bba66e1ff28b6fa94a12a922f38866 Mon Sep 17 00:00:00 2001 From: Martin Goik <goik@hdm-stuttgart.de> Date: Mon, 6 Mar 2017 06:39:15 +0100 Subject: [PATCH] Moving to MI Cloud --- AuswertungKlausur/move.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/AuswertungKlausur/move.sh b/AuswertungKlausur/move.sh index d35bfb3f7..c97f9f01f 100755 --- a/AuswertungKlausur/move.sh +++ b/AuswertungKlausur/move.sh @@ -1,7 +1,7 @@ #!/bin/bash -exam=Se1/SoSe2016 +exam=Sda1/Ws2016 #exam=Sda1/SoSe2016 ############################## @@ -10,7 +10,7 @@ rm -rf ~/newUsers.txt for zip in $( ls *.zip); do userId=${zip%.zip} - destuser=~/ownCloud/Fh/KlausurBewertung/$userId + destuser=~/C/Hdm/Fh/KlausurBewertung/$userId if [ -d "$destuser" ] then @@ -21,15 +21,15 @@ for zip in $( ls *.zip); do fi destdir=$destuser/$exam -# mkdir -p Unpack;cd Unpack + # mkdir -p Unpack;cd Unpack -# unzip ../$fbname 1> /dev/null 2>& 1 || echo $fbname is not a .zip archive + # unzip ../$fbname 1> /dev/null 2>& 1 || echo $fbname is not a .zip archive -mkdir -p $destdir -# echo moving $zip to $destdir -mv $zip $destdir -# mv Unpack/$fbname/* $destdir + mkdir -p $destdir + echo moving $zip to $destdir + mv $zip $destdir + # mv Unpack/$fbname/* $destdir done -- GitLab