Created
March 23, 2018 22:26
-
-
Save andylshort/4937727538673d6cface8c322edc56f5 to your computer and use it in GitHub Desktop.
Downloads all publically available, free books offered by O'Reilly
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 | |
wget -O- http://www.oreilly.com/programming/free/ | tr '"' \\n | grep http | grep free | cut -d "?" -f1 | sed 's/free/free\/files/' | sed 's/\.csp/\.pdf/' | xargs wget -P ebook |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment