resubmitMissing.sh - resubmit calibration jobns for missing runs
[u/mrichter/AliRoot.git] / TPC / scripts / makeWorkspace.sh
CommitLineData
d1513470 1#
2# marian.ivanov@cern.ch
05e3ee70 3# argument 1 - run.list
d1513470 4#
5# Make workspace structure
6# Create a list for each run
7# and make directory structure
acd4c700 8# This is fast procedure
9#
d1513470 10mydir=`pwd`
05e3ee70 11runlist=$1
acd4c700 12touch raw.list
13touch esd.list
05e3ee70 14for adir in `cat $runlist`; do
acd4c700 15 echo Creating dir $adir
16 mkdirhier $adir;
17 rm -f raw${adir}.txt
18 rm -f esd${adir}.txt
d1513470 19 cat $mydir/raw.list | grep $adir >raw${adir}.txt
20 cat $mydir/esd.list | grep $adir >esd${adir}.txt
21 cp raw${adir}.txt ${adir}/raw.txt
22 cp esd${adir}.txt ${adir}/esd.txt
acd4c700 23 cp raw${adir}.txt ${adir}/raw.txt.Good
24 cp esd${adir}.txt ${adir}/esd.txt.Good
25done;
26
d1513470 27
28