Skip to content

Instantly share code, notes, and snippets.

@madr madr/sync.sh
Created Sep 2, 2015

Embed
What would you like to do?
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
You can’t perform that action at this time.