Changeset 12557 for trunk/DataCheck/RsyncRaw.sh
- Timestamp:
- 11/18/11 20:36:54 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.