Friday, October 13, 2006

dump a web page and its links by wget

self-note:

Every few weeks I need to read wget manpage to find parameters to cache a single webpage and all its links, so perhaps better write it down here to save 5 minutes:

wget -r -H -l1 -k -P $targetdir --exclude-domains ${comma-seperated domain name} --user=xxx --password=xxx $url

0 Comments:

Post a Comment

<< Home