- Timestamp:
- 11/18/11 20:36:54 (13 years ago)
- Location:
- trunk/DataCheck
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/RsyncAux.sh
r12546 r12557 1 1 #!/bin/bash 2 2 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 3 date=`date +%Y/%m/%d --date="-1day"` 8 4 9 5 today=`date +%F` 10 6 logfile=/home/`whoami`/DataCheck/log/RsyncAux$today.log 7 8 auxdir=loc_data/aux/$date 9 echo `date`": processing files in "$auxdir >> $logfile 2>&1 11 10 12 11 #rsync from daq to data -
trunk/DataCheck/RsyncRaw.sh
r12546 r12557 1 1 #!/bin/bash 2 2 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 3 date=`date +%Y/%m/%d --date="-1day"` 8 4 9 5 today=`date +%F` 10 6 logfile=/home/`whoami`/DataCheck/log/RsyncRaw$today.log 7 8 rawdir=loc_data/raw/$date 9 echo `date`": processing files in "$rawdir >> $logfile 2>&1 11 10 12 11 #rsync from daq to data
Note:
See TracChangeset
for help on using the changeset viewer.