Skip to content

Instantly share code, notes, and snippets.

@JinhaiZ
Last active November 27, 2017 10:57
Show Gist options
  • Save JinhaiZ/e6dcf1cb480410b696a22f2b3b57d6f8 to your computer and use it in GitHub Desktop.
Save JinhaiZ/e6dcf1cb480410b696a22f2b3b57d6f8 to your computer and use it in GitHub Desktop.
useful linux function
# download an entire directory from a web site
# -r Turn on recursive retrieving. The default maximum depth is 5.
# --no-parent Do not ever ascend to the parent directory when retrieving recursively.
wget -r --no-parent http://formations.telecom-bretagne.eu/syst/TPDIST/Additional-Reading/
# use wget with username and password
wget -r --no-parent --user user_name --password my_pwd http://formations.telecom-bretagne.eu/syst/TPDIST/Additional-Reading/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment