source: trunk/DataCheck/Archive/ingest.sh@ 15375

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