Changeset 9126 for trunk/MagicSoft/Mars/datacenter/scripts/dowebplots
- Timestamp:
- 08/15/08 17:28:25 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/dowebplots
r9123 r9126 96 96 general=( ${generals[@]} ) 97 97 else 98 general=( $ general$1 )98 general=( ${general[@]} $1 ) 99 99 fi 100 100 ;; … … 104 104 individual=( ${individuals[@]} ) 105 105 else 106 individual=( $ individual$1 )106 individual=( ${individual[@]} $1 ) 107 107 fi 108 108 ;; … … 118 118 done 119 119 120 if [ ${#general[@]} -eq 0 ] ||[ ${#individual[@]} -eq 0 ]120 if [ ${#general[@]} -eq 0 ] && [ ${#individual[@]} -eq 0 ] 121 121 then 122 122 all=( ${names[@]} ) … … 128 128 129 129 130 131 130 # rsync subsystemdata, sequence and dataset files 132 131 echo "do rsync for subsystem files" >> $scriptlog 2>&1 133 #rsync -avn--delete $subsystempath/ $webpath/subsystemdata >> $scriptlog 2>&1132 rsync -av --delete $subsystempath/ $webpath/subsystemdata >> $scriptlog 2>&1 134 133 135 134 echo "do rsync for sequence files" >> $scriptlog 2>&1 136 #rsync -avn--delete $sequencepath/ $webpath/sequences >> $scriptlog 2>&1135 rsync -av --delete $sequencepath/ $webpath/sequences >> $scriptlog 2>&1 137 136 138 137 echo "do rsync for dataset files" >> $scriptlog 2>&1 139 #rsync -avn--delete $datasetpath/ $webpath/datasets >> $scriptlog 2>&1138 rsync -av --delete $datasetpath/ $webpath/datasets >> $scriptlog 2>&1 140 139 141 140 … … 218 217 rootfile=$inpath/$filename`printf %08d $num`.root 219 218 psfile=$inpath/$filename`printf %08d $num`.ps 220 csvfile=$ inpath/$filename`printf %08d $num`.csv219 csvfile=$outpath/$filename`printf %08d $num`.csv 221 220 pdffile=$outpath/$filename`printf %08d $num`.pdf 222 221 # rsync … … 230 229 # overwrite needed file and path names 231 230 rootfile=$inpath/$filename.root 232 psfile=$inpath/$filename.csv 231 psfile=$inpath/$filename.ps 232 csvfile=$outpath/$filename.csv 233 233 pdffile=$outpath/$filename.pdf 234 234 datasetfile=$datasetpath/`printf %08d $num | cut -c 0-${digit}`/dataset`printf %08d $num`.txt 235 235 236 echo "check1=root -q -b $macrospath/plotdb.C+\(\"$datasetfile\"\,\"$inpath/\"\) | tee -a $scriptlog | intgrep" >> $scriptlog 2>&1237 check1=`root -q -b $macrospath/plotdb.C+\("\"$datasetfile\""\,"\"$inpath/\""\) | tee -a $scriptlog | intgrep`236 echo "check1=root -q -b $macrospath/plotdb.C+\(\"$datasetfile\"\,\"$inpath/\"\) 2>|/dev/null | tee -a $scriptlog | intgrep" >> $scriptlog 2>&1 237 check1=`root -q -b $macrospath/plotdb.C+\("\"$datasetfile\""\,"\"$inpath/\""\) 2>|/dev/null | tee -a $scriptlog | intgrep` 238 238 case $check1 in 239 239 1) echo " check1=$check1 -> everything ok" >> $scriptlog 2>&1 … … 260 260 tmppath=/tmp/$pathname 261 261 rootfile=$outpath/$filename.root 262 psfile=$outpath/$filename.csv 262 psfile=$outpath/$filename.ps 263 csvfile=$outpath/$filename.csv 263 264 pdffile=$outpath/$filename.pdf 264 265 txtfile=$outpath/$filename.txt 265 266 266 echo "check2=root -q -b $macrospath/$macro.C+\(\"$outpath/\"\) 2> >$txtfile | tee -a $scriptlog | intgrep" >> $scriptlog 2>&1267 check2=`root -q -b $macrospath/$macro.C+\("\"$outpath/\""\) 2> >$txtfile | tee -a $scriptlog | intgrep`267 echo "check2=root -q -b $macrospath/$macro.C+\(\"$outpath/\"\) 2>| $txtfile | tee -a $scriptlog | intgrep" >> $scriptlog 2>&1 268 check2=`root -q -b $macrospath/$macro.C+\("\"$outpath/\""\) 2>| $txtfile | tee -a $scriptlog | intgrep` 268 269 case $check2 in 269 270 1) echo " check2=$check2 -> everything ok" >> $scriptlog 2>&1 … … 332 333 # rsync for complete directory delete removed sequences 333 334 echo "do rsync for callisto, star and ganymed files" >> $scriptlog 2>&1 334 rsync -aLv n--delete --exclude=*/*/20[01][0-9]*_[YI]_*[.]root --exclude=*/*.ps $datapath/{callisto,star,ganymed}/ $webpath/callisto >> $scriptlog 2>&1335 rsync -aLv --delete --exclude=*/*/20[01][0-9]*_[YI]_*[.]root --exclude=*/*.ps $datapath/{callisto,star,ganymed}/ $webpath/callisto >> $scriptlog 2>&1 335 336 336 337 lockfile=$lockpath/${program}-${hour}h.txt
Note:
See TracChangeset
for help on using the changeset viewer.