-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgettro.sh
17 lines (15 loc) · 1.13 KB
/
gettro.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
declare -a centers=( "as0" "go4" "ig0" "lp1" "mu2" )
for w in {1043..1721}
do
for c in "${centers[@]}"
do
wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 3 ftp://igs.bkg.bund.de/EPNrepro2/products/$w/${c}${w}0.tro.Z
wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 3 ftp://igs.bkg.bund.de/EPNrepro2/products/$w/${c}${w}1.tro.Z
wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 3 ftp://igs.bkg.bund.de/EPNrepro2/products/$w/${c}${w}2.tro.Z
wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 3 ftp://igs.bkg.bund.de/EPNrepro2/products/$w/${c}${w}3.tro.Z
wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 3 ftp://igs.bkg.bund.de/EPNrepro2/products/$w/${c}${w}4.tro.Z
wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 3 ftp://igs.bkg.bund.de/EPNrepro2/products/$w/${c}${w}5.tro.Z
wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 3 ftp://igs.bkg.bund.de/EPNrepro2/products/$w/${c}${w}6.tro.Z
done
done