Small update
[Hockey-Test.git] / alt / gethockeygames.sh
blobb302d17999e02dffa0ee37e39760797be718231a
1 #!/bin/bash
2 year="15-16"
3 getcwd="`pwd`"
4 rm -rfv "${getcwd}/hockey${year}-games.log"
5 cd "./echl${year}/"
6 getcwd="`pwd`"
7 time bash "${getcwd}/getechlgames.sh" 2>&1 | tee -a "${getcwd}/../hockey${year}-games.log"
8 sync
9 cd "./../"
10 cd "./ahl${year}/"
11 getcwd="`pwd`"
12 time bash "${getcwd}/getahlgames.sh" 2>&1 | tee -a "${getcwd}/../hockey${year}-games.log"
13 sync
14 cd "./../"
15 cd "./nhl${year}/"
16 getcwd="`pwd`"
17 time bash "${getcwd}/getnhlgames.sh" 2>&1 | tee -a "${getcwd}/../hockey${year}-games.log"
18 sync
19 cd "./../"
20 getcwd="`pwd`"