Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GoikLectures
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Goik Martin
GoikLectures
Commits
294a023f
Commit
294a023f
authored
8 years ago
by
Goik Martin
Browse files
Options
Downloads
Patches
Plain Diff
Moving to MI Cloud
parent
20ad890f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
AuswertungKlausur/move.sh
+8
-8
8 additions, 8 deletions
AuswertungKlausur/move.sh
with
8 additions
and
8 deletions
AuswertungKlausur/move.sh
+
8
−
8
View file @
294a023f
#!/bin/bash
exam
=
S
e1/SoSe
2016
exam
=
S
da1/Ws
2016
#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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment