Skip to content

Instantly share code, notes, and snippets.

@kamiller
Created March 11, 2013 22:55
Show Gist options
  • Save kamiller/5138693 to your computer and use it in GitHub Desktop.
Save kamiller/5138693 to your computer and use it in GitHub Desktop.
recursively download all files in a directory
#!/bin/bash
wget -r -q -nH --cut-dirs=2 --no-parent --reject="index.html*" http://mysite.com/dir1/dir2/data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment