How to download a website using shell command?

If you have lost the FTP or codebase of your project, you can use this wget command line program shell code to download the entire website, i have added additional parameters as for SSL sites to ignore the crawl.

wget –recursive –no-clobber –page-requisites –convert-links –html-extension –no-check-certificate –domains yourdomainname.com https://yourdomainname.com

Launch the terminal in MAC or Linux machines and use the code given and the entire site will be downloaded to your local machine as a browsable website. For windows machines download and wget library for this code to work.

Your Thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.