Changeset 18136 for trunk/DataCheck/Transfer
- Timestamp:
- 02/18/15 09:27:30 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Transfer/CheckTransfer.sh
r17905 r18136 99 99 100 100 # avoid that already checked days are checked again 101 if grep "EVERYTHING" $logfile >/dev/null 101 if grep "EVERYTHING" $logfile >/dev/null 2>&1 102 102 then 103 103 echo " "$date" has been checked already and is fine. Please check logfile "$logfile … … 152 152 153 153 # 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"` ) 155 156 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"` ) 156 157 if [ ${newdaq[0]} -eq -1 ] && [ ${daq[0]} -eq -1 ]
Note:
See TracChangeset
for help on using the changeset viewer.