Ignore:
Timestamp:
03/01/14 23:46:31 (11 years ago)
Author:
Daniela Dorner
Message:
implemented usage of getdates function
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Transfer/BackupAuxToWue.sh

    r16992 r17573  
    1010date >> $logfile
    1111
    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         )
     12getdates 6
    1713
    1814# do rsync for rawfiles of these dates
Note: See TracChangeset for help on using the changeset viewer.