Revision 7358
Added by Aaron Marcuse-Kubitza about 12 years ago
inputs/FIA/_src/download | ||
---|---|---|
1 | 1 |
#!/bin/sh |
2 | 2 |
# Downloads archives of CSVs for each state |
3 | 3 |
|
4 |
selfDir="$(dirname -- "$0")" |
|
5 |
|
|
6 |
cd "$selfDir" |
|
7 |
|
|
4 | 8 |
for state in AS GU PW AL AK AZ AR CA CO CT DE DC FL GA HI ID IL IN IA KS KY LA ME MD MA MI MN MS MO MT NE NV NH NJ NM NY NC ND OH OK OR PA PR RI SC SD TN TX UT VT VI VA WA WV WI WY; do |
5 | 9 |
wget "http://apps.fs.fed.us/fiadb-downloads/$state.zip" |
6 | 10 |
done |
Also available in: Unified diff
inputs/FIA/_src/download: Run wget in same directory as script to ensure files get downloaded there