Ignore:
Timestamp:
09/28/06 14:24:30 (18 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/checktransfer

    r7965 r7993  
    2525# ========================================================================
    2626#
    27 # This script checks the transfer.
     27# This script checks the transfer:
     28# 1) the transfer of subsystem files from LP
     29# 2) the transfer of rawfiles from PIC
    2830#
    2931
     
    3133printprocesslog "INFO starting $0"
    3234
     35#checking the transfer of the subsystemdata files
     36transferdir=/home/lapalma/transfer
     37dirs=`find $transferdir -type d`
     38for dir in $dirs
     39do
     40   if [ "$dir" = "$transferdir" ]
     41   then
     42      continue
     43   fi
     44   files=`find $dir -maxdepth 1 -type f | wc -l`
     45   if [ $files -eq 0 ]
     46   then
     47      continue
     48   fi
     49   printprocesslog "WARN $dir contains still $files files"
     50done
     51
     52
     53#checking the transfer of the rawfiles
    3354dates=`ls /magic/datacenter/fromlapalma/RAW | grep -v Test`
    3455
Note: See TracChangeset for help on using the changeset viewer.