Last active
April 10, 2016 12:44
-
-
Save akiyoshi83/bdd64eeeed920d4af222fa3661984563 to your computer and use it in GitHub Desktop.
Clone AWS documents by wget
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 | |
# ./get-awsdocs.sh -o ./wget.log -P ./awsdocs/ | |
wget \ | |
-rpkH \ | |
-l 0 \ | |
-np \ | |
-N \ | |
--reject=.pdf \ | |
--reject-regex=feedback\(yes\|no\) \ | |
--exclude-domains=alas.aws.amazon.com,amp.aws.amazon.com,blogs.aws.amazon.com,console.aws.amazon.com,forums.aws.amazon.com,portal.aws.amazon.com,signin.aws.amazon.com,status.aws.amazon.com \ | |
-Daws.amazon.com,docs.aws.amazon.com \ | |
${@} \ | |
https://aws.amazon.com/documentation/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment