Changeset 18137 for trunk/DataCheck/Transfer
- Timestamp:
- 02/18/15 09:28:14 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Transfer/RsyncAuxToISDC.sh
r17594 r18137 10 10 date >> $logfile 11 11 12 # get last 3, 6 or 9 nights 13 dates=( `date +%Y/%m/%d --date="-12hour"` `date +%Y/%m/%d --date="-36hour"` `date +%Y/%m/%d --date="-60hour"` \ 14 `date +%Y/%m/%d --date="-84hour"` `date +%Y/%m/%d --date="-108hour"` `date +%Y/%m/%d --date="-132hour"` \ 15 `date +%Y/%m/%d --date="-156hour"` `date +%Y/%m/%d --date="-180hour"` `date +%Y/%m/%d --date="-204hour"` \ 16 ) 12 # get dates 13 if [ "$certaindate" != "" ] 14 then 15 getdates $certaindate 16 else 17 # get all night 18 #getdates "all" 19 # get last 9 nights 20 getdates 9 21 fi 22 23 17 24 18 25 # do rsync for rawfiles of these dates
Note:
See TracChangeset
for help on using the changeset viewer.