Created
June 1, 2020 21:20
-
-
Save hornc/84c2c59059fee76d774f3cdaee5184fa to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
# Openlibrary.org data dumps are generated at the end of each month, this downloads them. | |
# This will save the separate dump files with the redirected filename containing dates. | |
wget --trust-server-names https://openlibrary.org/data/ol_dump_authors_latest.txt.gz | |
wget --trust-server-names https://openlibrary.org/data/ol_dump_works_latest.txt.gz | |
wget --trust-server-names https://openlibrary.org/data/ol_dump_editions_latest.txt.gz | |
gunzip *.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment