How you can download website template file using "wget" in ubuntu 15.04|SUDO_TN



How you can download website template file using "wget" in ubuntu 15.04|SUDO_TN

How you can download website template file using "wget" in ubuntu 15.04|SUDO_TN

So first you need to install wget follow those commande lines : ( it will be included in description )

$ sudo apt-get update

$ sudo apt-get build-dep wget

$ wget http://ftp.gnu.org/gnu/wget/wget-1.16.tar.gz

$ tar -xvf wget-1.16.tar.gz

$ cd wget-1.16/

$ ./configure –with-ssl=openssl –prefix=/opt/wget

$ make

$ sudo make install

$ sudo ln -s /opt/wget /usr/bin/wget

Next ,

Open teminal ( Alt+Ctrl + T )
then go to the folder where you want to download template files

then ,
wget -r –no-parent –convert-links -P . website.com

-r : specify recursive download
–no-parent : don’t ascend to the parent directory
–convert-link : make links in downloaded HTML or CSS point to local files
-P : save files to PREFIX/…

so let try with sudo.tn :p

wget -r –no-parent –convert-links -P . https://sudo.tn/

I hope that you like this tuto
follow us
#EXPECT_US

Comments are closed.