Last active
March 16, 2020 01:17
-
-
Save timmc/4a4711c15ff87b2735f2c74bc1efba4a to your computer and use it in GitHub Desktop.
Download all CDC MMWR for 2017
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in {01..42}; do curl -sS "https://www.cdc.gov/mmwr/volumes/66/wr/pdfs/mm66${i}.pdf" > "66_${i}.pdf" & done | |
for i in {43..50}; do curl -sS "https://www.cdc.gov/mmwr/volumes/66/wr/pdfs/mm66${i}-H.pdf" > "66_${i}.pdf" & done | |
curl -sS "https://www.cdc.gov/mmwr/volumes/66/wr/pdfs/mm665152-H.pdf" > "66_51_52.pdf" | |
Text extraction: | |
for x in ./*; do pdftotext $x $x.txt; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment