File Transfer - Wget

2 - Windows

Windows 10 PowerShell has also curl available.

2.1 - Installation

  • From Gnu Windows, download the binary program (example: wget.exe)
  • Optionally put it into the Git_Home\bin directory at

Git_Home\usr\bin

3 - Management

3.1 - Download to a specific file name

  • -O specify the target file name

wget <file.ext> -O /path/to/folder/file.ext

3.2 - Download to a specific folder

  • -P define the download folder

wget <file.ext> -P /path/to/folder

3.3 - Download a file with basic authentication

Authentication - Basic Authentication (HTTP)


wget --http-user=login --http-password=password https://example.com/file.pdf

3.4 - Download a whole web site


wget -r --no-parent -m -p -E -k http://example.com/sub/


r - recursive
m, --mirror            Turns on recursion and time-stamping, sets infinite recursion depth, and keeps FTP directory listings.
-p, --page-requisites   Get all images, etc. needed to display HTML page.
-E, --adjust-extension  Save HTML/CSS files with .html/.css extensions.
-k, --convert-links     Make links in downloaded HTML point to local files.

4 - Documentation / Reference


Data Science
Data Analysis
Statistics
Data Science
Linear Algebra Mathematics
Trigonometry

Powered by ComboStrap