Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:08:45

0001 #!/bin/csh
0002 foreach i (`eos ls /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/CMT | grep GLOBAL`)
0003 mkdir ${i}
0004 cd ${i}
0005 foreach k (`eos ls /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/CMT/${i} | grep html`)
0006 echo ${k}
0007 xrdcp /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/CMT/${i}/${k} .
0008 #ls
0009 mv ${k} ${k}.orig
0010 cat ${k}.orig | sed s/conddb-dev/conddb/g > ${k}
0011 rm ${k}.orig
0012 xrdcp -f ${k} /eos/cms/store/group/dpg_hcal/comm_hcal/www/HcalRemoteMonitoring/CMT/${i} 
0013 end
0014 cd ..
0015 rm -rf ${i}
0016 end