Skip to content

Instantly share code, notes, and snippets.

@madr
Created September 2, 2015 09:24
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 madr/e609d5184431f84b8b8f to your computer and use it in GitHub Desktop.
Save madr/e609d5184431f84b8b8f to your computer and use it in GitHub Desktop.
Download whole site recursively over FTP using wget
# set --cut-dir to the no parents that should be omitted (in this case 2: a and b)
wget -nv -r -nH --cut-dirs=2 ftp://<username>:<passwd>@<server>/a/b/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment