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