-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtransferCvs2WebSite
82 lines (58 loc) · 2.55 KB
/
transferCvs2WebSite
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# transferCvs2WebSite for plib
#
# you must already be logged in !!
# That means, you must do the following ONCE (once is enough for a lifetime :-)):
# cvs -d:pserver:anonymous@cvs1:/cvsroot/plib login
#
# export doesnt create the "cvs"-directories. Update would. Therefore I use export
echo running cd
cd /home/groups/p/pl/plib/htdocs
echo handling "sg"
rm -R sg
cvs -d:pserver:anonymous@cvs1:/cvsroot/plib export -Dtoday -d sg plib/doc/sg >/dev/null 2>&1
echo handling "ssg"
rm -R ssg
cvs -d:pserver:anonymous@cvs1:/cvsroot/plib export -Dtoday -d ssg plib/doc/ssg >/dev/null 2>&1
echo handling "sl"
rm -R sl
cvs -d:pserver:anonymous@cvs1:/cvsroot/plib export -Dtoday -d sl plib/doc/sl >/dev/null 2>&1
echo handling "js"
rm -R js
cvs -d:pserver:anonymous@cvs1:/cvsroot/plib export -Dtoday -d js plib/doc/js >/dev/null 2>&1
echo handling "fnt"
rm -R fnt
cvs -d:pserver:anonymous@cvs1:/cvsroot/plib export -Dtoday -d fnt plib/doc/fnt >/dev/null 2>&1
echo handling "pw"
rm -R pw
cvs -d:pserver:anonymous@cvs1:/cvsroot/plib export -Dtoday -d pw plib/doc/pw >/dev/null 2>&1
echo handling "psl"
rm -R psl
cvs -d:pserver:anonymous@cvs1:/cvsroot/plib export -Dtoday -d psl plib/doc/psl >/dev/null 2>&1
echo handling "puAux"
rm -R puAux
cvs -d:pserver:anonymous@cvs1:/cvsroot/plib export -Dtoday -d puAux plib/doc/puAux >/dev/null 2>&1
echo handling "ssgAux"
rm -R ssgAux
cvs -d:pserver:anonymous@cvs1:/cvsroot/plib export -Dtoday -d ssgAux plib/doc/ssgAux >/dev/null 2>&1
echo handling "util"
rm -R util
cvs -d:pserver:anonymous@cvs1:/cvsroot/plib export -Dtoday -d util plib/doc/util >/dev/null 2>&1
echo handling "pui"
rm -R pui
cvs -d:pserver:anonymous@cvs1:/cvsroot/plib export -Dtoday -d pui plib/doc/pui >/dev/null 2>&1
echo handling "net"
rm -R net
cvs -d:pserver:anonymous@cvs1:/cvsroot/plib export -Dtoday -d net plib/doc/net >/dev/null 2>&1
chmod -R u=rwX,g=rwX,o=rX /home/groups/p/pl/plib/htdocs/sg
chmod -R u=rwX,g=rwX,o=rX /home/groups/p/pl/plib/htdocs/ssg
chmod -R u=rwX,g=rwX,o=rX /home/groups/p/pl/plib/htdocs/sl
chmod -R u=rwX,g=rwX,o=rX /home/groups/p/pl/plib/htdocs/js
chmod -R u=rwX,g=rwX,o=rX /home/groups/p/pl/plib/htdocs/fnt
chmod -R u=rwX,g=rwX,o=rX /home/groups/p/pl/plib/htdocs/puAux
chmod -R u=rwX,g=rwX,o=rX /home/groups/p/pl/plib/htdocs/ssgAux
chmod -R u=rwX,g=rwX,o=rX /home/groups/p/pl/plib/htdocs/util
chmod -R u=rwX,g=rwX,o=rX /home/groups/p/pl/plib/htdocs/pui
chmod -R u=rwX,g=rwX,o=rX /home/groups/p/pl/plib/htdocs/psl
chmod -R u=rwX,g=rwX,o=rX /home/groups/p/pl/plib/htdocs/pw
chmod -R u=rwX,g=rwX,o=rX /home/groups/p/pl/plib/htdocs/net
echo done.