wget -m http://www.tldp.org/HOWTO/Serial-Programming-HOWTO/
- -m, –mirror
- shortcut for -N -r -l inf –no-remove-listing.
wget -H -r --level=1 -k -p http://www.tldp.org/HOWTO/Serial-Programming-HOWTO/
- -r, –recursive
- Specify recursive download.
- -l, –level=NUMBER
- Maximum recursion depth (inf or 0 for infinite).
- -k, –convert-links
- Make links in downloaded HTML point to local files.
- -p, –page-requisites
- Get all images, etc. needed to display HTML page.
I have a web page which consists of lot of banners and images (which in turn are downloaded from other servers). How can I make use of wget to download all of these images etc..
I’m not sure about that either, but you can try using the -k option, i’m guessing that’s what it does (download links from the html?)
wow thanks alot. btw wht does -h do??
after doing a wget ,if your looking for a specific fiel type
do this
mkdir folder
mv *.filetype folder
, or if you want to remove only a specific file, in this case css
rm *.css
-r makes it repeat
-p makes it download everything needed to run the site
-k makes linked files nessasary to run the site and downlaods them too
-H means that it can get info that is stored on other websites and used in this page
-l is how deep it will go into the indexes and get files
Thank you for this great post, it just comes in handy.
I thought wget was only able to download a single file 🙂