Skip to content

Instantly share code, notes, and snippets.

@bizonix
Created August 29, 2020 23:23
Show Gist options
  • Save bizonix/4c358095301da0716ae84b8fa4849eee to your computer and use it in GitHub Desktop.
Save bizonix/4c358095301da0716ae84b8fa4849eee to your computer and use it in GitHub Desktop.
Mirror http directory listing using wget

To mirror https://mirrors.kernel.org/sourceware/cygwin/ use following command line:

wget --no-verbose --no-check-certificate --content-disposition --mirror \
   --no-parent --no-host-directories -e robots=off --continue https://mirrors.kernel.org/sourceware/cygwin/

Command above downloads files to ./sourceware/cygwin/.


http://www.manpagez.com/man/1/wget/

$ wget --version
GNU Wget 1.13.4 built on cygwin.

+digest +https +ipv6 +iri +large-file +nls -ntlm +opie +ssl/gnutls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment