Index: trunk/MagicSoft/Mars/datacenter/scripts/copyscript
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/copyscript	(revision 6936)
+++ trunk/MagicSoft/Mars/datacenter/scripts/copyscript	(revision 6970)
@@ -174,5 +174,5 @@
       if grep "$filename: OK" $transdir/.check  >> $scriptlog 2>&1 
       then
-         newfile=`echo $file | sed -e 's/datacenter\/transfer/subsystemdata/' -e 's/ccdata/cc/' -e 's/drivelogs/drive/' -e 's/_/\//1' -e 's/_/\//1' `
+         newfile=`echo $file | sed -e 's/datacenter\/transfer/subsystemdata/' -e 's/ccdata/cc/' -e 's/cacodata/caco/' -e 's/drivelogs/drive/' -e 's/_/\//1' -e 's/_/\//1' `
          echo "file (new path): "$newfile >> $scriptlog 2>&1 
          newpath=`dirname $newfile`
@@ -194,5 +194,5 @@
          then
             echo "found rbk-file $filename"  >> $scriptlog 2>&1 
-            checkfillrbk=`root -q -b $macrospath/filldotrbk.C+\("\"$file\""\,kFALSE\) | tee $copylogpath/filldotrbk-$date-log.txt | grep int | sed -e 's/(int)//'`
+            checkfillrbk=`root -q -b $macrospath/filldotrbk.C+\("\"$file\""\,kFALSE\) | tee $copylogpath/filldotrbk-$filename-log.txt | grep int | sed -e 's/(int)//'`
             case $checkfillrbk in
                1) echo "checkfillrbk=$checkfillrbk -> everything ok " >> $scriptlog 2>&1 
@@ -205,5 +205,5 @@
          then
             echo "found run-file $filename" >> $scriptlog 2>&1 
-            checkfillrun=`root -q -b $macrospath/filldotrun.C+\("\"$file\""\,kFALSE\) | tee $copylogpath/filldotrun-$date-log.txt  | grep int | sed -e 's/(int)//'`
+            checkfillrun=`root -q -b $macrospath/filldotrun.C+\("\"$file\""\,kFALSE\) | tee $copylogpath/filldotrun-$filename-log.txt  | grep int | sed -e 's/(int)//'`
             case $checkfillrun in
                1) echo "checkfillrun=$checkfillrun -> everything ok " >> $scriptlog 2>&1 
@@ -247,4 +247,5 @@
 rm -v $transdir/.check >> $scriptlog 2>&1 
 
+#rsync -av $transdir/ $extern >> $scriptlog 2>&1 
 rsync -av --delete $transdir/ $extern >> $scriptlog 2>&1 
 
