Wget

From Alessandro's Wiki
Revision as of 09:17, 23 February 2011 by Xunil (talk | contribs)
  • 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
  • exclude a directory:
--exclude-directories="directory1,dir2"