Skip to content

Instantly share code, notes, and snippets.

@ChinnakornP
Forked from simonw/wget.md
Created August 16, 2018 03:04
Show Gist options
  • Select an option

  • Save ChinnakornP/1850c057c15353b543a91dd52b580728 to your computer and use it in GitHub Desktop.

Select an option

Save ChinnakornP/1850c057c15353b543a91dd52b580728 to your computer and use it in GitHub Desktop.
Recursive wget ignoring robots
$ wget -e robots=off -r -np 'http://example.com/folder/'
  • -e robots=off causes it to ignore robots.txt for that domain
  • -r makes it recursive
  • -np = no parents, so it doesn't follow links up to the parent folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment