Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 9195)
+++ trunk/MagicSoft/Mars/Changelog	(revision 9196)
@@ -18,4 +18,14 @@
 
                                                  -*-*- END OF LINE -*-*-
+
+ 2008/12/22 Stefan Ruegamer
+
+   * datacenter/macros/doexclusions.C
+     - added telescope number where missing
+
+   * datacenter/scripts/movingrawfiles
+     - added moving of zipped rawfiles
+
+
 
  2008/12/21 Thomas Bretz
Index: trunk/MagicSoft/Mars/datacenter/macros/doexclusions.C
===================================================================
--- trunk/MagicSoft/Mars/datacenter/macros/doexclusions.C	(revision 9195)
+++ trunk/MagicSoft/Mars/datacenter/macros/doexclusions.C	(revision 9196)
@@ -36,6 +36,6 @@
 // the macro can be executed either for a night or for a range of runnumbers
 // or for all nights
-// .x doexclusions.C+("night")
-// .x doexclusions.C+(startrun,stoprun)
+// .x doexclusions.C+("night", telnum)
+// .x doexclusions.C+(startrun,stoprun, telnum)
 // .x doexclusions.C+
 //
@@ -121,4 +121,5 @@
     cout << "Connected to " << serv.GetName() << endl;
     cout << "Date:      " << date << endl;
+    cout << "Telescope: " << tel << endl;
 
     serv.SetIsDummy(dummy);
@@ -185,5 +186,5 @@
         {
             TString vars(Form("fExcludedFDAKEY=%s", key.Data()));
-            TString where(Form("fRunNumber=%s AND fFileNumber=%s", (*row2)[0], (*row2)[1]));
+            TString where(Form("fRunNumber=%s AND fFileNumber=%s AND fTelescopeNumber=%d", (*row2)[0], (*row2)[1], tel));
 
             if (serv.Update("RunData", vars, where)==kFALSE)
Index: trunk/MagicSoft/Mars/datacenter/scripts/movingrawfiles
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/movingrawfiles	(revision 9195)
+++ trunk/MagicSoft/Mars/datacenter/scripts/movingrawfiles	(revision 9196)
@@ -52,5 +52,5 @@
 
 # find rawfiles belonging to tape (don't move files not yet md5-sum checked)
-rawfiles=`find /magic/{datacenter,data/rawfiles}/fromtape/???data/ -regextype posix-egrep -regex '.*/20[01][0-9]{5}_(M[12]_)?[0-9]{8}(\.[0-9]{3})?_.*.raw' -type f -user tape`
+rawfiles=`find /magic/{datacenter,data/rawfiles}/fromtape/???data/ -regextype posix-egrep -regex '.*/20[01][0-9]{5}_(M[12]_)?[0-9]{8}(\.[0-9]{3})?_.*.(raw)?raw.gz' -type f -user tape`
 
 if [ "$rawfiles" == "" ]
