Skip to content

Instantly share code, notes, and snippets.

@claudiobizzotto
Last active April 5, 2017 22:43
Show Gist options
  • Save claudiobizzotto/350fb36355389683a3eb00b8a2f9fca1 to your computer and use it in GitHub Desktop.
Save claudiobizzotto/350fb36355389683a3eb00b8a2f9fca1 to your computer and use it in GitHub Desktop.
Recursive wget example

Recursive wget example

wget \
-e robots=off \
--force-directories \
--ignore-case \
--no-verbose \
--show-progress \
--user-agent="Mozilla/4.0 (Windows; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)" \
--recursive \
--no-parent \
--accept=jpg,gif,png \
$URL
  • --user-agent: I'm using MSIE just for fun ;)
  • --accept=jpg,gif,png: download all files with those extensions
  • $URL: replace this with the source URL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment