Last change
on this file since 19952 was 12750, checked in by lyard, 13 years ago |
added ingest stuff
|
-
Property svn:executable
set to
*
|
File size:
817 bytes
|
Line | |
---|
1 | sourceAux="/data00/fact-construction/aux"
|
---|
2 | destAux="/archive/fact/rev_1/aux"
|
---|
3 |
|
---|
4 | sourceRaw="/data03/fact-construction/raw"
|
---|
5 | destRaw="/archive/fact/rev_1/raw"
|
---|
6 |
|
---|
7 | ok="true"
|
---|
8 |
|
---|
9 | if [ -d $sourceAux ]
|
---|
10 | then
|
---|
11 | echo "Source aux: "$sourceAux
|
---|
12 | else
|
---|
13 | echo "Source aux DOES NOT EXIST"
|
---|
14 | ok="false"
|
---|
15 | fi
|
---|
16 |
|
---|
17 | if [ -d $destAux ]
|
---|
18 | then
|
---|
19 | echo "Dest aux: "$destAux
|
---|
20 | else
|
---|
21 | echo "Dest aux DOES NOT EXIST"
|
---|
22 | ok="false"
|
---|
23 | fi
|
---|
24 |
|
---|
25 | if [ -d $sourceRaw ]
|
---|
26 | then
|
---|
27 | echo "Source raw: "$sourceRaw
|
---|
28 | else
|
---|
29 | echo "Source raw DOES NOT EXIST"
|
---|
30 | ok="false"
|
---|
31 | fi
|
---|
32 |
|
---|
33 | if [ -d $destRaw ]
|
---|
34 | then
|
---|
35 | echo "Dest raw: "$destRaw
|
---|
36 | else
|
---|
37 | echo "Dest raw DOES NOT EXIST"
|
---|
38 | ok="false"
|
---|
39 | fi
|
---|
40 |
|
---|
41 | if [ "$ok" == "true" ]
|
---|
42 | then
|
---|
43 | #echo "Here I should be starting both scripts"
|
---|
44 | auxIngest.sh $sourceAux $destAux
|
---|
45 | rawIngest.sh $sourceRaw $destRaw
|
---|
46 | else
|
---|
47 | echo "Something went wrong with folders. Please check them"
|
---|
48 | fi
|
---|
49 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.