|
Last change
on this file since 12552 was 12546, checked in by Daniela Dorner, 14 years ago |
|
added (scripts to rsync raw and aux files from daq to data)
|
-
Property svn:executable
set to
*
|
|
File size:
395 bytes
|
| Line | |
|---|
| 1 | #!/bin/bash
|
|---|
| 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
|
|---|
| 8 |
|
|---|
| 9 | today=`date +%F`
|
|---|
| 10 | logfile=/home/`whoami`/DataCheck/log/RsyncRaw$today.log
|
|---|
| 11 |
|
|---|
| 12 | #rsync from daq to data
|
|---|
| 13 | if ! /usr/bin/rsync -avxH 10.0.100.12::$rawdir /$rawdir >> $logfile 2>&1
|
|---|
| 14 | then
|
|---|
| 15 | echo `date`": problem rsyncing rawdata from daq to data"
|
|---|
| 16 | fi
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.