Skip to content

Instantly share code, notes, and snippets.

@mikedamoiseau
Created September 22, 2015 08:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mikedamoiseau/f773d1caec59b1c61749 to your computer and use it in GitHub Desktop.
Save mikedamoiseau/f773d1caec59b1c61749 to your computer and use it in GitHub Desktop.
How to download a folder with all its content recursively using wget
Use this command line:
wget -r -nH --cut-dirs=3 -nc --ftp-user=jfc-ftp --ask-password ftp://jfc.bitbakers-kunden.de//htdocs/wp-content/uploads
And give the password. Better to use --ask-password so that the password is not saved in the history of the bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment