Mirror/Clone existing websites from the internet

With Unix tool ‘wget‘, you can download the contents of the whole website and have a local copy.


wget --mirror -p --convert-links -P ./LOCAL-DIR WEBSITE-URL

Arguments:

  • mirror : turn on options suitable for mirroring.
  • p : download all files that are necessary to properly display a given HTML page.
  • convert-links : after the download, convert the links in document for local viewing.
  • P ./LOCAL-DIR : save all the files and directories to the specified directory.

Note:

Cloning, reusing and copying content from websites may be illegal.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s