diff --git a/download_shapefiles.sh b/download_shapefiles.sh index ccf44f1..3fb8bc9 100644 --- a/download_shapefiles.sh +++ b/download_shapefiles.sh @@ -2,7 +2,7 @@ # Download partnership shapefiles from the Census Bureau # Download the 'v2' zipfiles in each state directory -wget --show-progress 'ftp://ftp2.census.gov/geo/pvs/{01..55}/*v2*' +wget --show-progress ftp://ftp2.census.gov/geo/pvs/{01..55}/*v2* # Unzip recursively find . -name "*.zip" | xargs -P 5 -I fileName sh -c 'unzip -o -d "$(dirname "fileName")/$(basename -s .zip "fileName")" "fileName"'