Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@domoritz
Last active March 2, 2022 18:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save domoritz/894a85c2660d99eb05847770cc5c478f to your computer and use it in GitHub Desktop.
Save domoritz/894a85c2660d99eb05847770cc5c478f to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
wget https://transtats.bts.gov/PREZIP/$1 --quiet --no-check-certificate
unzip -q -o $1
rm $1
#!/usr/bin/env bash
bash file_list.sh > url.list
cat url.list | parallel -j 8 --progress --eta ./download.sh {}
#!/usr/bin/env bash
for y in {1987..2021}
do
for i in {1..12}
do
echo "On_Time_Reporting_Carrier_On_Time_Performance_1987_present_${y}_${i}.zip"
done
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment