Download Whole Website Like httrack via Command Line in Linux

On Oct 28, 2010 1 comments

Usually you need to download the whole website, and you use additional application like httrack in windows. But there will be a question how to do it in Linux? What application do I need to do this. But that question will be answered by a simple solution that missed by many people.

Yes, we will do it just by command line. And the command that we need is a popular command that many people have known. The command is wget. Now, how wget will download whole website? Here it is the command that you need :

$ wget -r --level=0 -convert-links --page-requisites --no-parent

The wget option explanation :
-r / --recursive                   Do recursive
-l / --level=                        Use 0 for infinite depth level or use number greater than 0 for limited depth.
-k / --convert-links            Modify links inside downloaded files to point to local files.
-p / --page-requisites         Get all images, css, js files which make up the web page.
-np / --no-parent               Don't download parent directory contents.

That's the command that you need to download whole website like httrack. Very simple, isn't it?


viswanath said...

AWS Training in Bangalore - Live Online & Classroom
myTectra Amazon Web Services (AWS) certification training helps you to gain real time hands on experience on AWS. myTectra offers AWS training in Bangalore using classroom and AWS Online Training globally. AWS Training at myTectra delivered by the experienced professional who has atleast 4 years of relavent AWS experince and overall 8-15 years of IT experience. myTectra Offers AWS Training since 2013 and retained the positions of Top AWS Training Company in Bangalore and India.

IOT Training in Bangalore - Live Online & Classroom
IOT Training course observes iot as the platform for networking of different devices on the internet and their inter related communication. Reading data through the sensors and processing it with applications sitting in the cloud and thereafter passing the processed data to generate different kind of output is the motive of the complete curricula. Students are made to understand the type of input devices and communications among the devices in a wireless media.

Post a Comment