Ignore:
Timestamp:
11/18/11 20:36:54 (13 years ago)
Author:
Daniela Dorner
Message:
changed such that only last night is rsynced
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/RsyncAux.sh

    r12546 r12557  
    11#!/bin/bash
    22
    3 year=`date +%Y --date="-1day"`
    4 month=`date +%m --date="-1day"`
    5 
    6 auxdir=loc_data/aux/$year/$month
    7 echo `date`": processing files in "$auxdir
     3date=`date +%Y/%m/%d --date="-1day"`
    84
    95today=`date +%F`
    106logfile=/home/`whoami`/DataCheck/log/RsyncAux$today.log
     7
     8auxdir=loc_data/aux/$date
     9echo `date`": processing files in "$auxdir >> $logfile 2>&1
    1110
    1211#rsync from daq to data
Note: See TracChangeset for help on using the changeset viewer.