Last active
August 29, 2015 14:02
-
-
Save wethinkagile/93a49452445234d05df9 to your computer and use it in GitHub Desktop.
Wget fetch files in a directory
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 | |
# Fetch Logs | |
wget -r --ca-certificate=theCert.pem \ | |
-A gz --directory-prefix=logs/property/ \ | |
-R html,gif,"index*","YourOtherExceptions" --no-verbose --no-parent \ | |
--no-directories --user=YourUsername -e robots=off \ | |
--password=YourPassword https://subdomain.domain/dir | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment