Thursday, 9 August 2012


Download Apache directory listings recursively


To apache directory listings recursively, use wget like below: 
$ wget -r -np -nH -R index.html  http://hostname/aaa/bbb/ccc/ddd/

where
  •  -r is for recursive retrieving.
  • -np is for no-parent option where wget won't get the parent directory when retrieving recursively.
  •  -nHequals to no host diretories where generation of host-prefixed directories will be disabled.
  • -R is to omit index.html. 

No comments:

Post a Comment