Index: trunk/MagicSoft/Mars/datacenter/scripts/movingrawfiles
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/movingrawfiles	(revision 8410)
+++ trunk/MagicSoft/Mars/datacenter/scripts/movingrawfiles	(revision 8682)
@@ -19,4 +19,5 @@
 #
 #   Author(s): Daniela Dorner  08/2004 <mailto:dorner@astro.uni-wuerzburg.de>
+#   Author(s): Stefan Ruegamer 02/2007 <mailto:snruegam@astro.uni-wuerzburg.de>
 #
 #   Copyright: MAGIC Software Development, 2000-2007
@@ -28,4 +29,7 @@
 # /magic/datacenter/fromtape/rawdata to the structure
 # /magic/data/rawfiles/YYYY/MM/DD
+# 
+# As the data transfer is at the moment not working via .finished files,
+# you have to use the script movingrawfiles_OK for moving these data
 # 
 
@@ -48,14 +52,15 @@
 # output for chmod with -v or -c (only changes)
 
-printprocesslog "INFO moving directories from fromlapalma to fromtape"
+# outdated, .finished files are no longer used
+#printprocesslog "INFO moving directories from fromlapalma to fromtape"
 # find directories which have to be copied
-dirs=`ls /magic/datacenter/fromlapalma/RAWchk/*/*.finished | sed -e 's/RAWchk/RAW/g' | cut -d/ -f1-6`
-if [ ! "$dirs" == "" ]
-then
+#dirs=`ls /magic/datacenter/fromlapalma/RAWchk/*/*.finished | sed -e 's/RAWchk/RAW/g' | cut -d/ -f1-6`
+#if [ ! "$dirs" == "" ]
+#then
    # change permission for this directories
-   ssh lapalma@apollo chmod -R g+w $dirs >> $scriptlog 2>&1
+   #ssh lapalma@dc09 chmod -R g+w $dirs >> $scriptlog 2>&1
    # move directories to the tapedirectory
-   mv -v $dirs /magic/datacenter/fromtape/rawdata/ >> $scriptlog 2>&1
-fi
+   #mv -v $dirs /magic/datacenter/fromtape/rawdata/ >> $scriptlog 2>&1
+#fi
 
 printprocesslog "INFO moving directories from muxdata to rawdata"
@@ -80,5 +85,5 @@
 printprocesslog "INFO moving rawfiles to $datapath/rawfiles"
 for rawfile in $rawfiles
-do 
+do
 # workaround for rawfiles with wrong timing
 #   newrawfile=`echo $rawfile | sed -e 's/center\/fromtape\/rawdata/\/rawfiles-wrong-timing/g' -e 's/_/\//1' -e 's/_/\//1'`
@@ -86,5 +91,5 @@
    newdir=`dirname $newrawfile`
    makedir $newdir >> $scriptlog 2>&1
-
+   
    mv -v $rawfile $newrawfile >> $scriptlog 2>&1
 done
