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/RsyncRaw.sh

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