Skip to content
Snippets Groups Projects
Commit 294a023f authored by Goik Martin's avatar Goik Martin
Browse files

Moving to MI Cloud

parent 20ad890f
No related branches found
No related tags found
No related merge requests found
#!/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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment