Created
July 5, 2011 15:23
-
-
Save corporealfunk/1065049 to your computer and use it in GitHub Desktop.
download all files in typical Apache web directory "index" 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
curl --silent http://example.com/images/loggedout/ | grep "a href" | grep png | cut -d ' ' -f 8 | cut -d '=' -f 2 | cut -d '"' -f 2 | sed "s/^/http:\/\/example.com\/images\/loggedout\//" | xargs wget |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment