Changeset 15599


Ignore:
Timestamp:
05/13/13 10:57:16 (12 years ago)
Author:
Daniela Dorner
Message:
check files only in detail when number of files does agree
File:
1 edited

Legend:

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

    r15328 r15599  
    5555dates=( `ssh fact@161.72.93.131 "find /loc_data/zipraw -mindepth 3 -type d | sort | sed -e 's/\/loc_data\/zipraw\///g' "` )
    5656
    57 #dates=( "2013/01/31" )
     57#dates=( "2013/04/18" )
    5858#short="yes"
    5959
     
    212212      fi
    213213   else
    214       numok=`echo " $numok + 1 " | bc -l `
    215       result=$result"0"
     214      if [ ${archive[0]} -eq -1 ]
     215      then
     216         numpb=`echo " $numpb + 1 " | bc -l `
     217         result=$result"1"
     218      else
     219         numok=`echo " $numok + 1 " | bc -l `
     220         result=$result"0"
     221      fi
    216222   fi
    217223   # wue
     
    236242   #fi
    237243   
    238    if [ "$short" = "yes" ]
    239    then
     244   if [ "$short" = "yes" ] || [ "$result" != "0000" ]
     245   then
     246      echo $result
    240247      continue
    241248   fi
Note: See TracChangeset for help on using the changeset viewer.