Difference between revisions of "Wget"
From Alessandro's Wiki
Line 9: | Line 9: | ||
* Mirror an entire website | * Mirror an entire website | ||
wget -m -p -l 0 -E -k http://site | |||
* and also | |||
* | wget -k -l 0 -m -nh -r http://site | ||
* and... | * and... | ||
wget --mirror -w 2 -p --html-extension --convert-links http://site | |||
* another one | * another one | ||
wget -o wget.log --html-extension --restrict-file-names=windows --convert-links --recursive --level=inf --page-requisites --wait=0 --quota=inf --reject="*_form, *@*, sitemap, RSS" http://site | |||
*; -k | |||
** converts non-relative links to relative | |||
*;"-l 0" | |||
** recursion infinite | |||
* exclude a directory: | * exclude a directory: | ||
--exclude-directories="directory1,dir2" | --exclude-directories="directory1,dir2" |
Revision as of 09:19, 23 February 2011
- Limitare la banda da utilizzare per scaricare.
wget --limit-rate=60k
- resume downloading (Continue a to download an incomplete file):
wget -c http://www.yourdomain.com/bigfile.bin
- Download into filename...
wget http://www.example.com -O index.html
- Mirror an entire website
wget -m -p -l 0 -E -k http://site
- and also
wget -k -l 0 -m -nh -r http://site
- and...
wget --mirror -w 2 -p --html-extension --convert-links http://site
- another one
wget -o wget.log --html-extension --restrict-file-names=windows --convert-links --recursive --level=inf --page-requisites --wait=0 --quota=inf --reject="*_form, *@*, sitemap, RSS" http://site
- -k
- converts non-relative links to relative
- "-l 0"
- recursion infinite
- exclude a directory:
--exclude-directories="directory1,dir2"