Ignore:
Timestamp:
02/18/15 09:27:30 (10 years ago)
Author:
Daniela Dorner
Message:
ignore runs with a run number with more than 3 digits
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Transfer/CheckTransfer.sh

    r17905 r18136  
    9999
    100100   # avoid that already checked days are checked again
    101    if grep "EVERYTHING" $logfile >/dev/null
     101   if grep "EVERYTHING" $logfile >/dev/null 2>&1
    102102   then
    103103      echo " "$date" has been checked already and is fine. Please check logfile "$logfile
     
    152152   
    153153   # get disk usage and number of files for directory
    154    newdaq=( `ssh fact@161.72.93.131 "if [ -d $lprawpath ]; then ls $lprawpath/* | wc -l; du -s -b --apparent-size $lprawpath; else echo '-1 -1 -1'; fi"` )
     154   #   on newdaq files with more than 3 digits as run number are excluded
     155   newdaq=( `ssh fact@161.72.93.131 "if [ -d $lprawpath ]; then ls $lprawpath/${date2}_[0-9][0-9][0-9][.]* | wc -l; du -s -b --apparent-size $lprawpath; else echo '-1 -1 -1'; fi"` )
    155156   daq=( `ssh fact@161.72.93.131 "if [ -d $lprawpath2 ]; then ls $lprawpath2/* | wc -l; du -s -b --apparent-size $lprawpath2; else echo '-1 -1 -1'; fi"` )
    156157   if [ ${newdaq[0]} -eq -1 ] && [ ${daq[0]} -eq -1 ]
Note: See TracChangeset for help on using the changeset viewer.