From e2a3f93212128b049325474fa6a391ca68a40af5 Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Tue, 25 Feb 2014 00:29:46 +0800 Subject: [PATCH] add wget.md --- common/wget.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 common/wget.md diff --git a/common/wget.md b/common/wget.md new file mode 100644 index 0000000000..b068d60cdc --- /dev/null +++ b/common/wget.md @@ -0,0 +1,24 @@ +# wget + +> Download files from the Web +> Supports HTTP, HTTPS, and FTP + +- Download a URL to a file + +`wget -O filename "{{URL}}"` + +- Limit download speed + +`wget --limit-rate=200k {{URL}}` + +- Continue an incomplete download + +`wget -c {{URL}}` + +- Download a full website + +`wget --mirror -p --convert-links -P ./LOCAL-DIR {{URL}}` + +- FTP download with username and password + +`wget --ftp-user={{USERNAME}} --ftp-password={{PASSWORD}} {{URL}}`