Skip to content

Instantly share code, notes, and snippets.

@zburgermeiszter
Created September 12, 2014 19:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zburgermeiszter/31f96038bfaa022b3bd6 to your computer and use it in GitHub Desktop.
Save zburgermeiszter/31f96038bfaa022b3bd6 to your computer and use it in GitHub Desktop.
apache directory recursive wget
To apache directory listings recursively, use wget like below:
$ wget -r -np -nH -R index.html http://filestodownload/
where -r is for recursive retrieving, -np is for no-parent option where wget won't get the parent directory when retrieving recursively, -nH equals to no host diretories where generation of host-prefixed directories will be disabled and -R is to omit index.html.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment