Last change
on this file since 58 was
43,
checked in by root, 19 years ago
|
atlas2 + minors
|
-
Property svn:executable set to
*
|
File size:
1.5 KB
|
Line | |
---|
1 | # cp all |
---|
2 | rm -rf /Users/laurentgarnier/Work/tmp; |
---|
3 | mkdir /Users/laurentgarnier/Work/tmp; |
---|
4 | mkdir /Users/laurentgarnier/Work/tmp/HEPVis; |
---|
5 | mkdir /Users/laurentgarnier/Work/tmp/OnX; |
---|
6 | cd ~/Work/OpenScientist/v13r0/HEPVis/v6r5; |
---|
7 | cp -rf * /Users/laurentgarnier/Work/tmp/HEPVis/.; |
---|
8 | cd ~/Work/OpenScientist/v13r0/OnX/v16r0; |
---|
9 | cp -rf * /Users/laurentgarnier/Work/tmp/OnX/.; |
---|
10 | echo "copy all ok" |
---|
11 | |
---|
12 | # nettoyage |
---|
13 | cd /Users/laurentgarnier/Work/tmp; |
---|
14 | rm -rf */Dar*; |
---|
15 | find . -name '*~' -exec rm {} \; >/Users/laurentgarnier/Work/tmp/rm_tmp; |
---|
16 | find . -name 'CVS' -exec rm -rf {} \;>/Users/laurentgarnier/Work/tmp/rm_tmp; |
---|
17 | cp -rf HEPVis/* /Users/laurentgarnier/Work/To_SVN/LAL/OpenScientist/HEPVis/.; |
---|
18 | cp -rf OnX/* /Users/laurentgarnier/Work/To_SVN/LAL/OpenScientist/OnX/.; |
---|
19 | echo "nettoyage ok" |
---|
20 | |
---|
21 | |
---|
22 | # svn status |
---|
23 | cd /Users/laurentgarnier/Work/To_SVN/LAL; |
---|
24 | /sw/bin/svn status -u> /Users/laurentgarnier/Work/tmp/svnStatusFile; |
---|
25 | cd /Users/laurentgarnier/Work/tmp; |
---|
26 | grep '^[M|C|U] ' svnStatusFile > modifsSVN; |
---|
27 | echo "svn status ok" |
---|
28 | |
---|
29 | |
---|
30 | # creation d'un tar |
---|
31 | rm tempFiles.tgz |
---|
32 | rm -rf backup |
---|
33 | mkdir backup |
---|
34 | cd /Users/laurentgarnier/Work/To_SVN/LAL; |
---|
35 | awk 'system("cp " $3 " /Users/laurentgarnier/Work/tmp/backup/.")' /Users/laurentgarnier/Work/tmp/modifsSVN |
---|
36 | cd /Users/laurentgarnier/Work/tmp; |
---|
37 | tar -czvf tempFiles.tgz backup; |
---|
38 | echo "tar creation ok" |
---|
39 | |
---|
40 | #ftp |
---|
41 | sftp garnier@atlas2.lal.in2p3.fr<<! |
---|
42 | bin |
---|
43 | cd Backup_mac |
---|
44 | rm tempFiles_older.tgz |
---|
45 | rename tempFiles_old.tgz tempFiles_older.tgz |
---|
46 | rename tempFiles.tgz tempFiles_old.tgz |
---|
47 | put tempFiles.tgz |
---|
48 | quit |
---|
Note: See
TracBrowser
for help on using the repository browser.