Download a website By unix command
Saturday, December 11, 2010
|
No Comments
Here i'm writing a effective way to get the file download recursively from a website without actually visiting each and every link to the sub pages. This is also useful in the case the page are of type XHTML or text type -one can make them . html by use of appropriate switch like -E. Go to the directory on to which you wish to download all the content from site and use the following command :
wget -r -p -k -E http://www.linuxdriver.co.il/ldd3/
.......where :
-> -r : is for recursive download of pages
-> -p : is for linking pages locally so that user s can browse them easily one the download is completed.
-> -k : is to create the directory structure ,and..
-> -E : is to create .html extension to the type XHTML or text files.
Enjoy and try it out ......... Author : Gyanendra