1. --restrict-file-names=windows for Windows
wget -c -t 0 --adjust-extension --restrict-file-names=windows --convert-links --timestamping --page-requisites -p -r -l max_recursive_depth your_http_url_address
2. Document follow the link
lake@PC-XXX:/test$ wget --level=inf --limit-rate=20K --recursive --page-requisites --user-agent=Mozilla --no-parent --convert-links --adjust-extension --no-clobber -e robots=off https://XXXXX.com/products/master/docs
3. mirrow one site
# One liner/txt file Windows format
wget --recursive --page-requisites --adjust-extension --span-hosts --convert-links --restrict-file-names=windows --domains yoursite.com --no-parent yoursite.com
# Explained
wget \
--recursive \ # Download the whole site.
--page-requisites \ # Get all assets/elements (CSS/JS/images).
--adjust-extension \ # Save files with .html on the end.
--span-hosts \ # Include necessary assets from offsite as well.
--convert-links \ # Update links to still work in the static version.
--restrict-file-names=windows \ # Modify filenames to work in Windows as well.
--domains yoursite.com \ # Do not follow links outside this domain.
--no-parent \ # Don't follow links outside the directory you pass in.
yoursite.com/whatever/path # The URL to download
#backgroud / -b
wget -b \
--recursive \ # Download the whole site.
--page-requisites \ # Get all assets/elements (CSS/JS/images).
--adjust-extension \ # Save files with .html on the end.
--span-hosts \ # Include necessary assets from offsite as well.
--convert-links \ # Update links to still work in the static version.
--restrict-file-names=windows \ # Modify filenames to work in Windows as well.
--domains opensource.rock-chips.com \ # Do not follow links outside this domain.
--no-parent \ # Don't follow links outside the directory you pass in.
http://opensource.rock-chips.com/wiki_Main_Page # The URL to download
4. Download specified gif photoes only (-H external host outside the base linking)
wget -q -p --convert-links -rH -Dimages.xxxx.com -A.gif www.xxxx.com/*.htm
5. For Chinese folder name in recursive mode
Please use
--restrict-file-names=nocontrol