Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 7992)
+++ trunk/MagicSoft/Mars/Changelog	(revision 7993)
@@ -37,4 +37,8 @@
      - moved mcpath to setup
      - updated mcpath
+
+   * datacenter/scripts/checktransfer:
+     - also check transfer of subsystem files
+     - added comments
 
 
Index: trunk/MagicSoft/Mars/datacenter/scripts/checktransfer
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/checktransfer	(revision 7992)
+++ trunk/MagicSoft/Mars/datacenter/scripts/checktransfer	(revision 7993)
@@ -25,5 +25,7 @@
 # ========================================================================
 #
-# This script checks the transfer. 
+# This script checks the transfer: 
+# 1) the transfer of subsystem files from LP
+# 2) the transfer of rawfiles from PIC
 #
 
@@ -31,4 +33,23 @@
 printprocesslog "INFO starting $0"
 
+#checking the transfer of the subsystemdata files
+transferdir=/home/lapalma/transfer
+dirs=`find $transferdir -type d`
+for dir in $dirs
+do 
+   if [ "$dir" = "$transferdir" ]
+   then 
+      continue
+   fi
+   files=`find $dir -maxdepth 1 -type f | wc -l`
+   if [ $files -eq 0 ]
+   then
+      continue
+   fi
+   printprocesslog "WARN $dir contains still $files files"
+done
+
+
+#checking the transfer of the rawfiles
 dates=`ls /magic/datacenter/fromlapalma/RAW | grep -v Test`
 
