Last active
August 29, 2015 14:22
-
-
Save stefanschmidt/7b6a2b9a1d97c4f4e860 to your computer and use it in GitHub Desktop.
Download all PDF documents from a web page
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
# depends on wget and GNU Parallel (available via Homebrew) | |
wget -e robots=off -nd -r --spider -l1 -A pdf http://foo.net/bar 2>&1 | grep -Eio http.+pdf | parallel -L 1 wget -nc --no-verbose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment