Mirroring a site with wget
wget print content to screen
wget force IPv4/6 download
Download Multiple Files
To download multiple files from FTP server, run
wget ftp://backup2.serverok.in/backup1/*.tar.gz --ftp-user=USER --ftp-password=PASSWORD
Download all files in a folder
wget -r -l1 --no-parent http://cloud.serverok.in/public/
Download Entire Website
wget \
--recursive \
--no-clobber \
--page-requisites \
--html-extension \
--convert-links \
--restrict-file-names=windows \
--domains example.com \
--no-parent \
www.example.com
Or
wget --mirror --convert-links --adjust-extension --page-requisites --no-parent https://domain.com/
Download with Limit Rate
wget -c --limit-rate=60k http://dn.serverok.in/1.mkv
This limits the download rate to 60.0KB/s
Back to Linux Commands
Leave a Reply